function py(i,o){for(var r=0;rc[f]})}}}return Object.freeze(Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}))}(function(){const o=document.createElement("link").relList;if(o&&o.supports&&o.supports("modulepreload"))return;for(const f of document.querySelectorAll('link[rel="modulepreload"]'))c(f);new MutationObserver(f=>{for(const d of f)if(d.type==="childList")for(const p of d.addedNodes)p.tagName==="LINK"&&p.rel==="modulepreload"&&c(p)}).observe(document,{childList:!0,subtree:!0});function r(f){const d={};return f.integrity&&(d.integrity=f.integrity),f.referrerPolicy&&(d.referrerPolicy=f.referrerPolicy),f.crossOrigin==="use-credentials"?d.credentials="include":f.crossOrigin==="anonymous"?d.credentials="omit":d.credentials="same-origin",d}function c(f){if(f.ep)return;f.ep=!0;const d=r(f);fetch(f.href,d)}})();function Ph(i){return i&&i.__esModule&&Object.prototype.hasOwnProperty.call(i,"default")?i.default:i}var Dr={exports:{}},ji={};/** * @license React * react-jsx-runtime.production.js * * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var rh;function yy(){if(rh)return ji;rh=1;var i=Symbol.for("react.transitional.element"),o=Symbol.for("react.fragment");function r(c,f,d){var p=null;if(d!==void 0&&(p=""+d),f.key!==void 0&&(p=""+f.key),"key"in f){d={};for(var S in f)S!=="key"&&(d[S]=f[S])}else d=f;return f=d.ref,{$$typeof:i,type:c,key:p,ref:f!==void 0?f:null,props:d}}return ji.Fragment=o,ji.jsx=r,ji.jsxs=r,ji}var uh;function vy(){return uh||(uh=1,Dr.exports=yy()),Dr.exports}var y=vy(),Ur={exports:{}},Ri={},Br={exports:{}},Lr={};/** * @license React * scheduler.production.js * * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var fh;function by(){return fh||(fh=1,(function(i){function o(A,L){var j=A.length;A.push(L);t:for(;0>>1,ct=A[it];if(0>>1;itf(U,j))Vf($,U)?(A[it]=$,A[V]=j,it=V):(A[it]=U,A[B]=j,it=B);else if(Vf($,j))A[it]=$,A[V]=j,it=V;else break t}}return L}function f(A,L){var j=A.sortIndex-L.sortIndex;return j!==0?j:A.id-L.id}if(i.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var d=performance;i.unstable_now=function(){return d.now()}}else{var p=Date,S=p.now();i.unstable_now=function(){return p.now()-S}}var v=[],m=[],b=1,g=null,N=3,M=!1,C=!1,q=!1,X=!1,G=typeof setTimeout=="function"?setTimeout:null,P=typeof clearTimeout=="function"?clearTimeout:null,J=typeof setImmediate<"u"?setImmediate:null;function W(A){for(var L=r(m);L!==null;){if(L.callback===null)c(m);else if(L.startTime<=A)c(m),L.sortIndex=L.expirationTime,o(v,L);else break;L=r(m)}}function I(A){if(q=!1,W(A),!C)if(r(v)!==null)C=!0,lt||(lt=!0,gt());else{var L=r(m);L!==null&&xt(I,L.startTime-A)}}var lt=!1,Q=-1,Z=5,mt=-1;function St(){return X?!0:!(i.unstable_now()-mtA&&St());){var it=g.callback;if(typeof it=="function"){g.callback=null,N=g.priorityLevel;var ct=it(g.expirationTime<=A);if(A=i.unstable_now(),typeof ct=="function"){g.callback=ct,W(A),L=!0;break e}g===r(v)&&c(v),W(A)}else c(v);g=r(v)}if(g!==null)L=!0;else{var E=r(m);E!==null&&xt(I,E.startTime-A),L=!1}}break t}finally{g=null,N=j,M=!1}L=void 0}}finally{L?gt():lt=!1}}}var gt;if(typeof J=="function")gt=function(){J(Ot)};else if(typeof MessageChannel<"u"){var pt=new MessageChannel,vt=pt.port2;pt.port1.onmessage=Ot,gt=function(){vt.postMessage(null)}}else gt=function(){G(Ot,0)};function xt(A,L){Q=G(function(){A(i.unstable_now())},L)}i.unstable_IdlePriority=5,i.unstable_ImmediatePriority=1,i.unstable_LowPriority=4,i.unstable_NormalPriority=3,i.unstable_Profiling=null,i.unstable_UserBlockingPriority=2,i.unstable_cancelCallback=function(A){A.callback=null},i.unstable_forceFrameRate=function(A){0>A||125it?(A.sortIndex=j,o(m,A),r(v)===null&&A===r(m)&&(q?(P(Q),Q=-1):q=!0,xt(I,j-it))):(A.sortIndex=ct,o(v,A),C||M||(C=!0,lt||(lt=!0,gt()))),A},i.unstable_shouldYield=St,i.unstable_wrapCallback=function(A){var L=N;return function(){var j=N;N=L;try{return A.apply(this,arguments)}finally{N=j}}}})(Lr)),Lr}var dh;function xy(){return dh||(dh=1,Br.exports=by()),Br.exports}var kr={exports:{}},dt={};/** * @license React * react.production.js * * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var mh;function Sy(){if(mh)return dt;mh=1;var i=Symbol.for("react.transitional.element"),o=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),c=Symbol.for("react.strict_mode"),f=Symbol.for("react.profiler"),d=Symbol.for("react.consumer"),p=Symbol.for("react.context"),S=Symbol.for("react.forward_ref"),v=Symbol.for("react.suspense"),m=Symbol.for("react.memo"),b=Symbol.for("react.lazy"),g=Symbol.for("react.activity"),N=Symbol.iterator;function M(E){return E===null||typeof E!="object"?null:(E=N&&E[N]||E["@@iterator"],typeof E=="function"?E:null)}var C={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},q=Object.assign,X={};function G(E,B,U){this.props=E,this.context=B,this.refs=X,this.updater=U||C}G.prototype.isReactComponent={},G.prototype.setState=function(E,B){if(typeof E!="object"&&typeof E!="function"&&E!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,E,B,"setState")},G.prototype.forceUpdate=function(E){this.updater.enqueueForceUpdate(this,E,"forceUpdate")};function P(){}P.prototype=G.prototype;function J(E,B,U){this.props=E,this.context=B,this.refs=X,this.updater=U||C}var W=J.prototype=new P;W.constructor=J,q(W,G.prototype),W.isPureReactComponent=!0;var I=Array.isArray;function lt(){}var Q={H:null,A:null,T:null,S:null},Z=Object.prototype.hasOwnProperty;function mt(E,B,U){var V=U.ref;return{$$typeof:i,type:E,key:B,ref:V!==void 0?V:null,props:U}}function St(E,B){return mt(E.type,B,E.props)}function Ot(E){return typeof E=="object"&&E!==null&&E.$$typeof===i}function gt(E){var B={"=":"=0",":":"=2"};return"$"+E.replace(/[=:]/g,function(U){return B[U]})}var pt=/\/+/g;function vt(E,B){return typeof E=="object"&&E!==null&&E.key!=null?gt(""+E.key):B.toString(36)}function xt(E){switch(E.status){case"fulfilled":return E.value;case"rejected":throw E.reason;default:switch(typeof E.status=="string"?E.then(lt,lt):(E.status="pending",E.then(function(B){E.status==="pending"&&(E.status="fulfilled",E.value=B)},function(B){E.status==="pending"&&(E.status="rejected",E.reason=B)})),E.status){case"fulfilled":return E.value;case"rejected":throw E.reason}}throw E}function A(E,B,U,V,$){var st=typeof E;(st==="undefined"||st==="boolean")&&(E=null);var at=!1;if(E===null)at=!0;else switch(st){case"bigint":case"string":case"number":at=!0;break;case"object":switch(E.$$typeof){case i:case o:at=!0;break;case b:return at=E._init,A(at(E._payload),B,U,V,$)}}if(at)return $=$(E),at=V===""?"."+vt(E,0):V,I($)?(U="",at!=null&&(U=at.replace(pt,"$&/")+"/"),A($,B,U,"",function(ne){return ne})):$!=null&&(Ot($)&&($=St($,U+($.key==null||E&&E.key===$.key?"":(""+$.key).replace(pt,"$&/")+"/")+at)),B.push($)),1;at=0;var ut=V===""?".":V+":";if(I(E))for(var Nt=0;Nt"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(i)}catch(o){console.error(o)}}return i(),qr.exports=Ey(),qr.exports}/** * @license React * react-dom-client.production.js * * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var yh;function wy(){if(yh)return Ri;yh=1;var i=xy(),o=mo(),r=Ih();function c(t){var e="https://react.dev/errors/"+t;if(1ct||(t.current=it[ct],it[ct]=null,ct--)}function U(t,e){ct++,it[ct]=t.current,t.current=e}var V=E(null),$=E(null),st=E(null),at=E(null);function ut(t,e){switch(U(st,e),U($,t),U(V,null),e.nodeType){case 9:case 11:t=(t=e.documentElement)&&(t=t.namespaceURI)?Cm(t):0;break;default:if(t=e.tagName,e=e.namespaceURI)e=Cm(e),t=jm(e,t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}B(V),U(V,t)}function Nt(){B(V),B($),B(st)}function ne(t){t.memoizedState!==null&&U(at,t);var e=V.current,a=jm(e,t.type);e!==a&&(U($,t),U(V,a))}function me(t){$.current===t&&(B(V),B($)),at.current===t&&(B(at),_i._currentValue=j)}var le,ha;function $e(t){if(le===void 0)try{throw Error()}catch(a){var e=a.stack.trim().match(/\n( *(at )?)/);le=e&&e[1]||"",ha=-1)":-1l||x[n]!==O[l]){var D=` `+x[n].replace(" at new "," at ");return t.displayName&&D.includes("")&&(D=D.replace("",t.displayName)),D}while(1<=n&&0<=l);break}}}finally{Ll=!1,Error.prepareStackTrace=a}return(a=t?t.displayName||t.name:"")?$e(a):""}function gn(t,e){switch(t.tag){case 26:case 27:case 5:return $e(t.type);case 16:return $e("Lazy");case 13:return t.child!==e&&e!==null?$e("Suspense Fallback"):$e("Suspense");case 19:return $e("SuspenseList");case 0:case 15:return Gn(t.type,!1);case 11:return Gn(t.type.render,!1);case 1:return Gn(t.type,!0);case 31:return $e("Activity");default:return""}}function kl(t){try{var e="",a=null;do e+=gn(t,a),a=t,t=t.return;while(t);return e}catch(n){return` Error generating stack: `+n.message+` `+n.stack}}var _e=Object.prototype.hasOwnProperty,ql=i.unstable_scheduleCallback,Yl=i.unstable_cancelCallback,he=i.unstable_shouldYield,La=i.unstable_requestPaint,ge=i.unstable_now,wo=i.unstable_getCurrentPriorityLevel,pn=i.unstable_ImmediatePriority,Gi=i.unstable_UserBlockingPriority,yn=i.unstable_NormalPriority,Gl=i.unstable_LowPriority,ga=i.unstable_IdlePriority,Xi=i.log,ka=i.unstable_setDisableYieldValue,vn=null,pe=null;function We(t){if(typeof Xi=="function"&&ka(t),pe&&typeof pe.setStrictMode=="function")try{pe.setStrictMode(vn,t)}catch{}}var ue=Math.clz32?Math.clz32:na,Ao=Math.log,Xl=Math.LN2;function na(t){return t>>>=0,t===0?32:31-(Ao(t)/Xl|0)|0}var Xn=256,Vn=262144,bn=4194304;function la(t){var e=t&42;if(e!==0)return e;switch(t&-t){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return t&261888;case 262144:case 524288:case 1048576:case 2097152:return t&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return t&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return t}}function ft(t,e,a){var n=t.pendingLanes;if(n===0)return 0;var l=0,s=t.suspendedLanes,u=t.pingedLanes;t=t.warmLanes;var h=n&134217727;return h!==0?(n=h&~s,n!==0?l=la(n):(u&=h,u!==0?l=la(u):a||(a=h&~t,a!==0&&(l=la(a))))):(h=n&~s,h!==0?l=la(h):u!==0?l=la(u):a||(a=n&~t,a!==0&&(l=la(a)))),l===0?0:e!==0&&e!==l&&(e&s)===0&&(s=l&-l,a=e&-e,s>=a||s===32&&(a&4194048)!==0)?e:l}function qt(t,e){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&e)===0}function te(t,e){switch(t){case 1:case 2:case 4:case 8:case 64:return e+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function fe(){var t=bn;return bn<<=1,(bn&62914560)===0&&(bn=4194304),t}function qa(t){for(var e=[],a=0;31>a;a++)e.push(t);return e}function Gt(t,e){t.pendingLanes|=e,e!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function ve(t,e,a,n,l,s){var u=t.pendingLanes;t.pendingLanes=a,t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0,t.expiredLanes&=a,t.entangledLanes&=a,t.errorRecoveryDisabledLanes&=a,t.shellSuspendCounter=0;var h=t.entanglements,x=t.expirationTimes,O=t.hiddenUpdates;for(a=u&~a;0"u")return null;try{return t.activeElement||t.body}catch{return t.body}}var up=/[\n"\\]/g;function qe(t){return t.replace(up,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function _o(t,e,a,n,l,s,u,h){t.name="",u!=null&&typeof u!="function"&&typeof u!="symbol"&&typeof u!="boolean"?t.type=u:t.removeAttribute("type"),e!=null?u==="number"?(e===0&&t.value===""||t.value!=e)&&(t.value=""+ke(e)):t.value!==""+ke(e)&&(t.value=""+ke(e)):u!=="submit"&&u!=="reset"||t.removeAttribute("value"),e!=null?Mo(t,u,ke(e)):a!=null?Mo(t,u,ke(a)):n!=null&&t.removeAttribute("value"),l==null&&s!=null&&(t.defaultChecked=!!s),l!=null&&(t.checked=l&&typeof l!="function"&&typeof l!="symbol"),h!=null&&typeof h!="function"&&typeof h!="symbol"&&typeof h!="boolean"?t.name=""+ke(h):t.removeAttribute("name")}function Tu(t,e,a,n,l,s,u,h){if(s!=null&&typeof s!="function"&&typeof s!="symbol"&&typeof s!="boolean"&&(t.type=s),e!=null||a!=null){if(!(s!=="submit"&&s!=="reset"||e!=null)){Oo(t);return}a=a!=null?""+ke(a):"",e=e!=null?""+ke(e):a,h||e===t.value||(t.value=e),t.defaultValue=e}n=n??l,n=typeof n!="function"&&typeof n!="symbol"&&!!n,t.checked=h?t.checked:!!n,t.defaultChecked=!!n,u!=null&&typeof u!="function"&&typeof u!="symbol"&&typeof u!="boolean"&&(t.name=u),Oo(t)}function Mo(t,e,a){e==="number"&&Zi(t.ownerDocument)===t||t.defaultValue===""+a||(t.defaultValue=""+a)}function Fn(t,e,a,n){if(t=t.options,e){e={};for(var l=0;l"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Do=!1;if(va)try{var Kl={};Object.defineProperty(Kl,"passive",{get:function(){Do=!0}}),window.addEventListener("test",Kl,Kl),window.removeEventListener("test",Kl,Kl)}catch{Do=!1}var Ga=null,Uo=null,Ji=null;function Cu(){if(Ji)return Ji;var t,e=Uo,a=e.length,n,l="value"in Ga?Ga.value:Ga.textContent,s=l.length;for(t=0;t=Wl),Lu=" ",ku=!1;function qu(t,e){switch(t){case"keyup":return Lp.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Yu(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var el=!1;function qp(t,e){switch(t){case"compositionend":return Yu(e);case"keypress":return e.which!==32?null:(ku=!0,Lu);case"textInput":return t=e.data,t===Lu&&ku?null:t;default:return null}}function Yp(t,e){if(el)return t==="compositionend"||!Yo&&qu(t,e)?(t=Cu(),Ji=Uo=Ga=null,el=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(e.ctrlKey||e.altKey||e.metaKey)||e.ctrlKey&&e.altKey){if(e.char&&1=e)return{node:a,offset:e-t};t=n}t:{for(;a;){if(a.nextSibling){a=a.nextSibling;break t}a=a.parentNode}a=void 0}a=$u(a)}}function Fu(t,e){return t&&e?t===e?!0:t&&t.nodeType===3?!1:e&&e.nodeType===3?Fu(t,e.parentNode):"contains"in t?t.contains(e):t.compareDocumentPosition?!!(t.compareDocumentPosition(e)&16):!1:!1}function Pu(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var e=Zi(t.document);e instanceof t.HTMLIFrameElement;){try{var a=typeof e.contentWindow.location.href=="string"}catch{a=!1}if(a)t=e.contentWindow;else break;e=Zi(t.document)}return e}function Vo(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e&&(e==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||e==="textarea"||t.contentEditable==="true")}var $p=va&&"documentMode"in document&&11>=document.documentMode,al=null,Qo=null,ti=null,Zo=!1;function Iu(t,e,a){var n=a.window===a?a.document:a.nodeType===9?a:a.ownerDocument;Zo||al==null||al!==Zi(n)||(n=al,"selectionStart"in n&&Vo(n)?n={start:n.selectionStart,end:n.selectionEnd}:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection(),n={anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}),ti&&Il(ti,n)||(ti=n,n=Ys(Qo,"onSelect"),0>=u,l-=u,ia=1<<32-ue(e)+l|a<yt?(Tt=nt,nt=null):Tt=nt.sibling;var Mt=_(T,nt,z[yt],k);if(Mt===null){nt===null&&(nt=Tt);break}t&&nt&&Mt.alternate===null&&e(T,nt),w=s(Mt,w,yt),_t===null?ot=Mt:_t.sibling=Mt,_t=Mt,nt=Tt}if(yt===z.length)return a(T,nt),zt&&xa(T,yt),ot;if(nt===null){for(;ytyt?(Tt=nt,nt=null):Tt=nt.sibling;var fn=_(T,nt,Mt.value,k);if(fn===null){nt===null&&(nt=Tt);break}t&&nt&&fn.alternate===null&&e(T,nt),w=s(fn,w,yt),_t===null?ot=fn:_t.sibling=fn,_t=fn,nt=Tt}if(Mt.done)return a(T,nt),zt&&xa(T,yt),ot;if(nt===null){for(;!Mt.done;yt++,Mt=z.next())Mt=Y(T,Mt.value,k),Mt!==null&&(w=s(Mt,w,yt),_t===null?ot=Mt:_t.sibling=Mt,_t=Mt);return zt&&xa(T,yt),ot}for(nt=n(nt);!Mt.done;yt++,Mt=z.next())Mt=R(nt,T,yt,Mt.value,k),Mt!==null&&(t&&Mt.alternate!==null&&nt.delete(Mt.key===null?yt:Mt.key),w=s(Mt,w,yt),_t===null?ot=Mt:_t.sibling=Mt,_t=Mt);return t&&nt.forEach(function(gy){return e(T,gy)}),zt&&xa(T,yt),ot}function Ut(T,w,z,k){if(typeof z=="object"&&z!==null&&z.type===q&&z.key===null&&(z=z.props.children),typeof z=="object"&&z!==null){switch(z.$$typeof){case M:t:{for(var ot=z.key;w!==null;){if(w.key===ot){if(ot=z.type,ot===q){if(w.tag===7){a(T,w.sibling),k=l(w,z.props.children),k.return=T,T=k;break t}}else if(w.elementType===ot||typeof ot=="object"&&ot!==null&&ot.$$typeof===Z&&Hn(ot)===w.type){a(T,w.sibling),k=l(w,z.props),si(k,z),k.return=T,T=k;break t}a(T,w);break}else e(T,w);w=w.sibling}z.type===q?(k=Nn(z.props.children,T.mode,k,z.key),k.return=T,T=k):(k=ls(z.type,z.key,z.props,null,T.mode,k),si(k,z),k.return=T,T=k)}return u(T);case C:t:{for(ot=z.key;w!==null;){if(w.key===ot)if(w.tag===4&&w.stateNode.containerInfo===z.containerInfo&&w.stateNode.implementation===z.implementation){a(T,w.sibling),k=l(w,z.children||[]),k.return=T,T=k;break t}else{a(T,w);break}else e(T,w);w=w.sibling}k=Io(z,T.mode,k),k.return=T,T=k}return u(T);case Z:return z=Hn(z),Ut(T,w,z,k)}if(xt(z))return F(T,w,z,k);if(gt(z)){if(ot=gt(z),typeof ot!="function")throw Error(c(150));return z=ot.call(z),rt(T,w,z,k)}if(typeof z.then=="function")return Ut(T,w,fs(z),k);if(z.$$typeof===J)return Ut(T,w,os(T,z),k);ds(T,z)}return typeof z=="string"&&z!==""||typeof z=="number"||typeof z=="bigint"?(z=""+z,w!==null&&w.tag===6?(a(T,w.sibling),k=l(w,z),k.return=T,T=k):(a(T,w),k=Po(z,T.mode,k),k.return=T,T=k),u(T)):a(T,w)}return function(T,w,z,k){try{ii=0;var ot=Ut(T,w,z,k);return ml=null,ot}catch(nt){if(nt===dl||nt===rs)throw nt;var _t=He(29,nt,null,T.mode);return _t.lanes=k,_t.return=T,_t}finally{}}}var jn=wf(!0),Af=wf(!1),Ka=!1;function fc(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function dc(t,e){t=t.updateQueue,e.updateQueue===t&&(e.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,callbacks:null})}function Ja(t){return{lane:t,tag:0,payload:null,callback:null,next:null}}function $a(t,e,a){var n=t.updateQueue;if(n===null)return null;if(n=n.shared,(Ht&2)!==0){var l=n.pending;return l===null?e.next=e:(e.next=l.next,l.next=e),n.pending=e,e=ns(t),of(t,null,a),e}return as(t,n,e,a),ns(t)}function oi(t,e,a){if(e=e.updateQueue,e!==null&&(e=e.shared,(a&4194048)!==0)){var n=e.lanes;n&=t.pendingLanes,a|=n,e.lanes=a,be(t,a)}}function mc(t,e){var a=t.updateQueue,n=t.alternate;if(n!==null&&(n=n.updateQueue,a===n)){var l=null,s=null;if(a=a.firstBaseUpdate,a!==null){do{var u={lane:a.lane,tag:a.tag,payload:a.payload,callback:null,next:null};s===null?l=s=u:s=s.next=u,a=a.next}while(a!==null);s===null?l=s=e:s=s.next=e}else l=s=e;a={baseState:n.baseState,firstBaseUpdate:l,lastBaseUpdate:s,shared:n.shared,callbacks:n.callbacks},t.updateQueue=a;return}t=a.lastBaseUpdate,t===null?a.firstBaseUpdate=e:t.next=e,a.lastBaseUpdate=e}var hc=!1;function ci(){if(hc){var t=fl;if(t!==null)throw t}}function ri(t,e,a,n){hc=!1;var l=t.updateQueue;Ka=!1;var s=l.firstBaseUpdate,u=l.lastBaseUpdate,h=l.shared.pending;if(h!==null){l.shared.pending=null;var x=h,O=x.next;x.next=null,u===null?s=O:u.next=O,u=x;var D=t.alternate;D!==null&&(D=D.updateQueue,h=D.lastBaseUpdate,h!==u&&(h===null?D.firstBaseUpdate=O:h.next=O,D.lastBaseUpdate=x))}if(s!==null){var Y=l.baseState;u=0,D=O=x=null,h=s;do{var _=h.lane&-536870913,R=_!==h.lane;if(R?(At&_)===_:(n&_)===_){_!==0&&_===ul&&(hc=!0),D!==null&&(D=D.next={lane:0,tag:h.tag,payload:h.payload,callback:null,next:null});t:{var F=t,rt=h;_=e;var Ut=a;switch(rt.tag){case 1:if(F=rt.payload,typeof F=="function"){Y=F.call(Ut,Y,_);break t}Y=F;break t;case 3:F.flags=F.flags&-65537|128;case 0:if(F=rt.payload,_=typeof F=="function"?F.call(Ut,Y,_):F,_==null)break t;Y=g({},Y,_);break t;case 2:Ka=!0}}_=h.callback,_!==null&&(t.flags|=64,R&&(t.flags|=8192),R=l.callbacks,R===null?l.callbacks=[_]:R.push(_))}else R={lane:_,tag:h.tag,payload:h.payload,callback:h.callback,next:null},D===null?(O=D=R,x=Y):D=D.next=R,u|=_;if(h=h.next,h===null){if(h=l.shared.pending,h===null)break;R=h,h=R.next,R.next=null,l.lastBaseUpdate=R,l.shared.pending=null}}while(!0);D===null&&(x=Y),l.baseState=x,l.firstBaseUpdate=O,l.lastBaseUpdate=D,s===null&&(l.shared.lanes=0),tn|=u,t.lanes=u,t.memoizedState=Y}}function Tf(t,e){if(typeof t!="function")throw Error(c(191,t));t.call(e)}function Nf(t,e){var a=t.callbacks;if(a!==null)for(t.callbacks=null,t=0;ts?s:8;var u=A.T,h={};A.T=h,jc(t,!1,e,a);try{var x=l(),O=A.S;if(O!==null&&O(h,x),x!==null&&typeof x=="object"&&typeof x.then=="function"){var D=l0(x,n);di(t,e,D,Ue(t))}else di(t,e,n,Ue(t))}catch(Y){di(t,e,{then:function(){},status:"rejected",reason:Y},Ue())}finally{L.p=s,u!==null&&h.types!==null&&(u.types=h.types),A.T=u}}function u0(){}function Hc(t,e,a,n){if(t.tag!==5)throw Error(c(476));var l=ld(t).queue;nd(t,l,e,j,a===null?u0:function(){return id(t),a(n)})}function ld(t){var e=t.memoizedState;if(e!==null)return e;e={memoizedState:j,baseState:j,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Aa,lastRenderedState:j},next:null};var a={};return e.next={memoizedState:a,baseState:a,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Aa,lastRenderedState:a},next:null},t.memoizedState=e,t=t.alternate,t!==null&&(t.memoizedState=e),e}function id(t){var e=ld(t);e.next===null&&(e=t.alternate.memoizedState),di(t,e.next.queue,{},Ue())}function Cc(){return oe(_i)}function sd(){return Zt().memoizedState}function od(){return Zt().memoizedState}function f0(t){for(var e=t.return;e!==null;){switch(e.tag){case 24:case 3:var a=Ue();t=Ja(a);var n=$a(e,t,a);n!==null&&(ze(n,e,a),oi(n,e,a)),e={cache:oc()},t.payload=e;return}e=e.return}}function d0(t,e,a){var n=Ue();a={lane:n,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},Es(t)?rd(e,a):(a=Wo(t,e,a,n),a!==null&&(ze(a,t,n),ud(a,e,n)))}function cd(t,e,a){var n=Ue();di(t,e,a,n)}function di(t,e,a,n){var l={lane:n,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null};if(Es(t))rd(e,l);else{var s=t.alternate;if(t.lanes===0&&(s===null||s.lanes===0)&&(s=e.lastRenderedReducer,s!==null))try{var u=e.lastRenderedState,h=s(u,a);if(l.hasEagerState=!0,l.eagerState=h,Me(h,u))return as(t,e,l,0),Bt===null&&es(),!1}catch{}finally{}if(a=Wo(t,e,l,n),a!==null)return ze(a,t,n),ud(a,e,n),!0}return!1}function jc(t,e,a,n){if(n={lane:2,revertLane:fr(),gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},Es(t)){if(e)throw Error(c(479))}else e=Wo(t,a,n,2),e!==null&&ze(e,t,2)}function Es(t){var e=t.alternate;return t===ht||e!==null&&e===ht}function rd(t,e){gl=gs=!0;var a=t.pending;a===null?e.next=e:(e.next=a.next,a.next=e),t.pending=e}function ud(t,e,a){if((a&4194048)!==0){var n=e.lanes;n&=t.pendingLanes,a|=n,e.lanes=a,be(t,a)}}var mi={readContext:oe,use:vs,useCallback:Xt,useContext:Xt,useEffect:Xt,useImperativeHandle:Xt,useLayoutEffect:Xt,useInsertionEffect:Xt,useMemo:Xt,useReducer:Xt,useRef:Xt,useState:Xt,useDebugValue:Xt,useDeferredValue:Xt,useTransition:Xt,useSyncExternalStore:Xt,useId:Xt,useHostTransitionStatus:Xt,useFormState:Xt,useActionState:Xt,useOptimistic:Xt,useMemoCache:Xt,useCacheRefresh:Xt};mi.useEffectEvent=Xt;var fd={readContext:oe,use:vs,useCallback:function(t,e){return ye().memoizedState=[t,e===void 0?null:e],t},useContext:oe,useEffect:Jf,useImperativeHandle:function(t,e,a){a=a!=null?a.concat([t]):null,xs(4194308,4,Pf.bind(null,e,t),a)},useLayoutEffect:function(t,e){return xs(4194308,4,t,e)},useInsertionEffect:function(t,e){xs(4,2,t,e)},useMemo:function(t,e){var a=ye();e=e===void 0?null:e;var n=t();if(Rn){We(!0);try{t()}finally{We(!1)}}return a.memoizedState=[n,e],n},useReducer:function(t,e,a){var n=ye();if(a!==void 0){var l=a(e);if(Rn){We(!0);try{a(e)}finally{We(!1)}}}else l=e;return n.memoizedState=n.baseState=l,t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:l},n.queue=t,t=t.dispatch=d0.bind(null,ht,t),[n.memoizedState,t]},useRef:function(t){var e=ye();return t={current:t},e.memoizedState=t},useState:function(t){t=Nc(t);var e=t.queue,a=cd.bind(null,ht,e);return e.dispatch=a,[t.memoizedState,a]},useDebugValue:_c,useDeferredValue:function(t,e){var a=ye();return Mc(a,t,e)},useTransition:function(){var t=Nc(!1);return t=nd.bind(null,ht,t.queue,!0,!1),ye().memoizedState=t,[!1,t]},useSyncExternalStore:function(t,e,a){var n=ht,l=ye();if(zt){if(a===void 0)throw Error(c(407));a=a()}else{if(a=e(),Bt===null)throw Error(c(349));(At&127)!==0||Cf(n,e,a)}l.memoizedState=a;var s={value:a,getSnapshot:e};return l.queue=s,Jf(Rf.bind(null,n,s,t),[t]),n.flags|=2048,yl(9,{destroy:void 0},jf.bind(null,n,s,a,e),null),a},useId:function(){var t=ye(),e=Bt.identifierPrefix;if(zt){var a=sa,n=ia;a=(n&~(1<<32-ue(n)-1)).toString(32)+a,e="_"+e+"R_"+a,a=ps++,0<\/script>",s=s.removeChild(s.firstChild);break;case"select":s=typeof n.is=="string"?u.createElement("select",{is:n.is}):u.createElement("select"),n.multiple?s.multiple=!0:n.size&&(s.size=n.size);break;default:s=typeof n.is=="string"?u.createElement(l,{is:n.is}):u.createElement(l)}}s[ie]=e,s[Se]=n;t:for(u=e.child;u!==null;){if(u.tag===5||u.tag===6)s.appendChild(u.stateNode);else if(u.tag!==4&&u.tag!==27&&u.child!==null){u.child.return=u,u=u.child;continue}if(u===e)break t;for(;u.sibling===null;){if(u.return===null||u.return===e)break t;u=u.return}u.sibling.return=u.return,u=u.sibling}e.stateNode=s;t:switch(re(s,l,n),l){case"button":case"input":case"select":case"textarea":n=!!n.autoFocus;break t;case"img":n=!0;break t;default:n=!1}n&&Na(e)}}return kt(e),Kc(e,e.type,t===null?null:t.memoizedProps,e.pendingProps,a),null;case 6:if(t&&e.stateNode!=null)t.memoizedProps!==n&&Na(e);else{if(typeof n!="string"&&e.stateNode===null)throw Error(c(166));if(t=st.current,cl(e)){if(t=e.stateNode,a=e.memoizedProps,n=null,l=se,l!==null)switch(l.tag){case 27:case 5:n=l.memoizedProps}t[ie]=e,t=!!(t.nodeValue===a||n!==null&&n.suppressHydrationWarning===!0||Mm(t.nodeValue,a)),t||Qa(e,!0)}else t=Gs(t).createTextNode(n),t[ie]=e,e.stateNode=t}return kt(e),null;case 31:if(a=e.memoizedState,t===null||t.memoizedState!==null){if(n=cl(e),a!==null){if(t===null){if(!n)throw Error(c(318));if(t=e.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(c(557));t[ie]=e}else zn(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;kt(e),t=!1}else a=nc(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=a),t=!0;if(!t)return e.flags&256?(je(e),e):(je(e),null);if((e.flags&128)!==0)throw Error(c(558))}return kt(e),null;case 13:if(n=e.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(l=cl(e),n!==null&&n.dehydrated!==null){if(t===null){if(!l)throw Error(c(318));if(l=e.memoizedState,l=l!==null?l.dehydrated:null,!l)throw Error(c(317));l[ie]=e}else zn(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;kt(e),l=!1}else l=nc(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=l),l=!0;if(!l)return e.flags&256?(je(e),e):(je(e),null)}return je(e),(e.flags&128)!==0?(e.lanes=a,e):(a=n!==null,t=t!==null&&t.memoizedState!==null,a&&(n=e.child,l=null,n.alternate!==null&&n.alternate.memoizedState!==null&&n.alternate.memoizedState.cachePool!==null&&(l=n.alternate.memoizedState.cachePool.pool),s=null,n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(s=n.memoizedState.cachePool.pool),s!==l&&(n.flags|=2048)),a!==t&&a&&(e.child.flags|=8192),zs(e,e.updateQueue),kt(e),null);case 4:return Nt(),t===null&&gr(e.stateNode.containerInfo),kt(e),null;case 10:return Ea(e.type),kt(e),null;case 19:if(B(Qt),n=e.memoizedState,n===null)return kt(e),null;if(l=(e.flags&128)!==0,s=n.rendering,s===null)if(l)gi(n,!1);else{if(Vt!==0||t!==null&&(t.flags&128)!==0)for(t=e.child;t!==null;){if(s=hs(t),s!==null){for(e.flags|=128,gi(n,!1),t=s.updateQueue,e.updateQueue=t,zs(e,t),e.subtreeFlags=0,t=a,a=e.child;a!==null;)cf(a,t),a=a.sibling;return U(Qt,Qt.current&1|2),zt&&xa(e,n.treeForkCount),e.child}t=t.sibling}n.tail!==null&&ge()>Cs&&(e.flags|=128,l=!0,gi(n,!1),e.lanes=4194304)}else{if(!l)if(t=hs(s),t!==null){if(e.flags|=128,l=!0,t=t.updateQueue,e.updateQueue=t,zs(e,t),gi(n,!0),n.tail===null&&n.tailMode==="hidden"&&!s.alternate&&!zt)return kt(e),null}else 2*ge()-n.renderingStartTime>Cs&&a!==536870912&&(e.flags|=128,l=!0,gi(n,!1),e.lanes=4194304);n.isBackwards?(s.sibling=e.child,e.child=s):(t=n.last,t!==null?t.sibling=s:e.child=s,n.last=s)}return n.tail!==null?(t=n.tail,n.rendering=t,n.tail=t.sibling,n.renderingStartTime=ge(),t.sibling=null,a=Qt.current,U(Qt,l?a&1|2:a&1),zt&&xa(e,n.treeForkCount),t):(kt(e),null);case 22:case 23:return je(e),pc(),n=e.memoizedState!==null,t!==null?t.memoizedState!==null!==n&&(e.flags|=8192):n&&(e.flags|=8192),n?(a&536870912)!==0&&(e.flags&128)===0&&(kt(e),e.subtreeFlags&6&&(e.flags|=8192)):kt(e),a=e.updateQueue,a!==null&&zs(e,a.retryQueue),a=null,t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(a=t.memoizedState.cachePool.pool),n=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),n!==a&&(e.flags|=2048),t!==null&&B(Mn),null;case 24:return a=null,t!==null&&(a=t.memoizedState.cache),e.memoizedState.cache!==a&&(e.flags|=2048),Ea(Kt),kt(e),null;case 25:return null;case 30:return null}throw Error(c(156,e.tag))}function y0(t,e){switch(ec(e),e.tag){case 1:return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 3:return Ea(Kt),Nt(),t=e.flags,(t&65536)!==0&&(t&128)===0?(e.flags=t&-65537|128,e):null;case 26:case 27:case 5:return me(e),null;case 31:if(e.memoizedState!==null){if(je(e),e.alternate===null)throw Error(c(340));zn()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 13:if(je(e),t=e.memoizedState,t!==null&&t.dehydrated!==null){if(e.alternate===null)throw Error(c(340));zn()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 19:return B(Qt),null;case 4:return Nt(),null;case 10:return Ea(e.type),null;case 22:case 23:return je(e),pc(),t!==null&&B(Mn),t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 24:return Ea(Kt),null;case 25:return null;default:return null}}function Dd(t,e){switch(ec(e),e.tag){case 3:Ea(Kt),Nt();break;case 26:case 27:case 5:me(e);break;case 4:Nt();break;case 31:e.memoizedState!==null&&je(e);break;case 13:je(e);break;case 19:B(Qt);break;case 10:Ea(e.type);break;case 22:case 23:je(e),pc(),t!==null&&B(Mn);break;case 24:Ea(Kt)}}function pi(t,e){try{var a=e.updateQueue,n=a!==null?a.lastEffect:null;if(n!==null){var l=n.next;a=l;do{if((a.tag&t)===t){n=void 0;var s=a.create,u=a.inst;n=s(),u.destroy=n}a=a.next}while(a!==l)}}catch(h){jt(e,e.return,h)}}function Pa(t,e,a){try{var n=e.updateQueue,l=n!==null?n.lastEffect:null;if(l!==null){var s=l.next;n=s;do{if((n.tag&t)===t){var u=n.inst,h=u.destroy;if(h!==void 0){u.destroy=void 0,l=e;var x=a,O=h;try{O()}catch(D){jt(l,x,D)}}}n=n.next}while(n!==s)}}catch(D){jt(e,e.return,D)}}function Ud(t){var e=t.updateQueue;if(e!==null){var a=t.stateNode;try{Nf(e,a)}catch(n){jt(t,t.return,n)}}}function Bd(t,e,a){a.props=Dn(t.type,t.memoizedProps),a.state=t.memoizedState;try{a.componentWillUnmount()}catch(n){jt(t,e,n)}}function yi(t,e){try{var a=t.ref;if(a!==null){switch(t.tag){case 26:case 27:case 5:var n=t.stateNode;break;case 30:n=t.stateNode;break;default:n=t.stateNode}typeof a=="function"?t.refCleanup=a(n):a.current=n}}catch(l){jt(t,e,l)}}function oa(t,e){var a=t.ref,n=t.refCleanup;if(a!==null)if(typeof n=="function")try{n()}catch(l){jt(t,e,l)}finally{t.refCleanup=null,t=t.alternate,t!=null&&(t.refCleanup=null)}else if(typeof a=="function")try{a(null)}catch(l){jt(t,e,l)}else a.current=null}function Ld(t){var e=t.type,a=t.memoizedProps,n=t.stateNode;try{t:switch(e){case"button":case"input":case"select":case"textarea":a.autoFocus&&n.focus();break t;case"img":a.src?n.src=a.src:a.srcSet&&(n.srcset=a.srcSet)}}catch(l){jt(t,t.return,l)}}function Jc(t,e,a){try{var n=t.stateNode;k0(n,t.type,a,e),n[Se]=e}catch(l){jt(t,t.return,l)}}function kd(t){return t.tag===5||t.tag===3||t.tag===26||t.tag===27&&sn(t.type)||t.tag===4}function $c(t){t:for(;;){for(;t.sibling===null;){if(t.return===null||kd(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.tag===27&&sn(t.type)||t.flags&2||t.child===null||t.tag===4)continue t;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function Wc(t,e,a){var n=t.tag;if(n===5||n===6)t=t.stateNode,e?(a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a).insertBefore(t,e):(e=a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a,e.appendChild(t),a=a._reactRootContainer,a!=null||e.onclick!==null||(e.onclick=ya));else if(n!==4&&(n===27&&sn(t.type)&&(a=t.stateNode,e=null),t=t.child,t!==null))for(Wc(t,e,a),t=t.sibling;t!==null;)Wc(t,e,a),t=t.sibling}function Os(t,e,a){var n=t.tag;if(n===5||n===6)t=t.stateNode,e?a.insertBefore(t,e):a.appendChild(t);else if(n!==4&&(n===27&&sn(t.type)&&(a=t.stateNode),t=t.child,t!==null))for(Os(t,e,a),t=t.sibling;t!==null;)Os(t,e,a),t=t.sibling}function qd(t){var e=t.stateNode,a=t.memoizedProps;try{for(var n=t.type,l=e.attributes;l.length;)e.removeAttributeNode(l[0]);re(e,n,a),e[ie]=t,e[Se]=a}catch(s){jt(t,t.return,s)}}var za=!1,Wt=!1,Fc=!1,Yd=typeof WeakSet=="function"?WeakSet:Set,ae=null;function v0(t,e){if(t=t.containerInfo,vr=$s,t=Pu(t),Vo(t)){if("selectionStart"in t)var a={start:t.selectionStart,end:t.selectionEnd};else t:{a=(a=t.ownerDocument)&&a.defaultView||window;var n=a.getSelection&&a.getSelection();if(n&&n.rangeCount!==0){a=n.anchorNode;var l=n.anchorOffset,s=n.focusNode;n=n.focusOffset;try{a.nodeType,s.nodeType}catch{a=null;break t}var u=0,h=-1,x=-1,O=0,D=0,Y=t,_=null;e:for(;;){for(var R;Y!==a||l!==0&&Y.nodeType!==3||(h=u+l),Y!==s||n!==0&&Y.nodeType!==3||(x=u+n),Y.nodeType===3&&(u+=Y.nodeValue.length),(R=Y.firstChild)!==null;)_=Y,Y=R;for(;;){if(Y===t)break e;if(_===a&&++O===l&&(h=u),_===s&&++D===n&&(x=u),(R=Y.nextSibling)!==null)break;Y=_,_=Y.parentNode}Y=R}a=h===-1||x===-1?null:{start:h,end:x}}else a=null}a=a||{start:0,end:0}}else a=null;for(br={focusedElem:t,selectionRange:a},$s=!1,ae=e;ae!==null;)if(e=ae,t=e.child,(e.subtreeFlags&1028)!==0&&t!==null)t.return=e,ae=t;else for(;ae!==null;){switch(e=ae,s=e.alternate,t=e.flags,e.tag){case 0:if((t&4)!==0&&(t=e.updateQueue,t=t!==null?t.events:null,t!==null))for(a=0;a title"))),re(s,n,a),s[ie]=t,ee(s),n=s;break t;case"link":var u=Km("link","href",l).get(n+(a.href||""));if(u){for(var h=0;hUt&&(u=Ut,Ut=rt,rt=u);var T=Wu(h,rt),w=Wu(h,Ut);if(T&&w&&(R.rangeCount!==1||R.anchorNode!==T.node||R.anchorOffset!==T.offset||R.focusNode!==w.node||R.focusOffset!==w.offset)){var z=Y.createRange();z.setStart(T.node,T.offset),R.removeAllRanges(),rt>Ut?(R.addRange(z),R.extend(w.node,w.offset)):(z.setEnd(w.node,w.offset),R.addRange(z))}}}}for(Y=[],R=h;R=R.parentNode;)R.nodeType===1&&Y.push({element:R,left:R.scrollLeft,top:R.scrollTop});for(typeof h.focus=="function"&&h.focus(),h=0;ha?32:a,A.T=null,a=lr,lr=null;var s=an,u=Ca;if(Ft=0,El=an=null,Ca=0,(Ht&6)!==0)throw Error(c(331));var h=Ht;if(Ht|=4,Pd(s.current),$d(s,s.current,u,a),Ht=h,wi(0,!1),pe&&typeof pe.onPostCommitFiberRoot=="function")try{pe.onPostCommitFiberRoot(vn,s)}catch{}return!0}finally{L.p=l,A.T=n,pm(t,e)}}function vm(t,e,a){e=Ge(a,e),e=Bc(t.stateNode,e,2),t=$a(t,e,2),t!==null&&(Gt(t,2),ca(t))}function jt(t,e,a){if(t.tag===3)vm(t,t,a);else for(;e!==null;){if(e.tag===3){vm(e,t,a);break}else if(e.tag===1){var n=e.stateNode;if(typeof e.type.getDerivedStateFromError=="function"||typeof n.componentDidCatch=="function"&&(en===null||!en.has(n))){t=Ge(a,t),a=bd(2),n=$a(e,a,2),n!==null&&(xd(a,n,e,t),Gt(n,2),ca(n));break}}e=e.return}}function cr(t,e,a){var n=t.pingCache;if(n===null){n=t.pingCache=new S0;var l=new Set;n.set(e,l)}else l=n.get(e),l===void 0&&(l=new Set,n.set(e,l));l.has(a)||(tr=!0,l.add(a),t=N0.bind(null,t,e,a),e.then(t,t))}function N0(t,e,a){var n=t.pingCache;n!==null&&n.delete(e),t.pingedLanes|=t.suspendedLanes&a,t.warmLanes&=~a,Bt===t&&(At&a)===a&&(Vt===4||Vt===3&&(At&62914560)===At&&300>ge()-Hs?(Ht&2)===0&&wl(t,0):er|=a,Sl===At&&(Sl=0)),ca(t)}function bm(t,e){e===0&&(e=fe()),t=Tn(t,e),t!==null&&(Gt(t,e),ca(t))}function z0(t){var e=t.memoizedState,a=0;e!==null&&(a=e.retryLane),bm(t,a)}function O0(t,e){var a=0;switch(t.tag){case 31:case 13:var n=t.stateNode,l=t.memoizedState;l!==null&&(a=l.retryLane);break;case 19:n=t.stateNode;break;case 22:n=t.stateNode._retryCache;break;default:throw Error(c(314))}n!==null&&n.delete(e),bm(t,a)}function _0(t,e){return ql(t,e)}var Ls=null,Tl=null,rr=!1,ks=!1,ur=!1,ln=0;function ca(t){t!==Tl&&t.next===null&&(Tl===null?Ls=Tl=t:Tl=Tl.next=t),ks=!0,rr||(rr=!0,H0())}function wi(t,e){if(!ur&&ks){ur=!0;do for(var a=!1,n=Ls;n!==null;){if(t!==0){var l=n.pendingLanes;if(l===0)var s=0;else{var u=n.suspendedLanes,h=n.pingedLanes;s=(1<<31-ue(42|t)+1)-1,s&=l&~(u&~h),s=s&201326741?s&201326741|1:s?s|2:0}s!==0&&(a=!0,wm(n,s))}else s=At,s=ft(n,n===Bt?s:0,n.cancelPendingCommit!==null||n.timeoutHandle!==-1),(s&3)===0||qt(n,s)||(a=!0,wm(n,s));n=n.next}while(a);ur=!1}}function M0(){xm()}function xm(){ks=rr=!1;var t=0;ln!==0&&Y0()&&(t=ln);for(var e=ge(),a=null,n=Ls;n!==null;){var l=n.next,s=Sm(n,e);s===0?(n.next=null,a===null?Ls=l:a.next=l,l===null&&(Tl=a)):(a=n,(t!==0||(s&3)!==0)&&(ks=!0)),n=l}Ft!==0&&Ft!==5||wi(t),ln!==0&&(ln=0)}function Sm(t,e){for(var a=t.suspendedLanes,n=t.pingedLanes,l=t.expirationTimes,s=t.pendingLanes&-62914561;0h)break;var D=x.transferSize,Y=x.initiatorType;D&&Hm(Y)&&(x=x.responseEnd,u+=D*(x"u"?null:document;function Xm(t,e,a){var n=Nl;if(n&&typeof e=="string"&&e){var l=qe(e);l='link[rel="'+t+'"][href="'+l+'"]',typeof a=="string"&&(l+='[crossorigin="'+a+'"]'),Gm.has(l)||(Gm.add(l),t={rel:t,crossOrigin:a,href:e},n.querySelector(l)===null&&(e=n.createElement("link"),re(e,"link",t),ee(e),n.head.appendChild(e)))}}function W0(t){ja.D(t),Xm("dns-prefetch",t,null)}function F0(t,e){ja.C(t,e),Xm("preconnect",t,e)}function P0(t,e,a){ja.L(t,e,a);var n=Nl;if(n&&t&&e){var l='link[rel="preload"][as="'+qe(e)+'"]';e==="image"&&a&&a.imageSrcSet?(l+='[imagesrcset="'+qe(a.imageSrcSet)+'"]',typeof a.imageSizes=="string"&&(l+='[imagesizes="'+qe(a.imageSizes)+'"]')):l+='[href="'+qe(t)+'"]';var s=l;switch(e){case"style":s=zl(t);break;case"script":s=Ol(t)}Je.has(s)||(t=g({rel:"preload",href:e==="image"&&a&&a.imageSrcSet?void 0:t,as:e},a),Je.set(s,t),n.querySelector(l)!==null||e==="style"&&n.querySelector(zi(s))||e==="script"&&n.querySelector(Oi(s))||(e=n.createElement("link"),re(e,"link",t),ee(e),n.head.appendChild(e)))}}function I0(t,e){ja.m(t,e);var a=Nl;if(a&&t){var n=e&&typeof e.as=="string"?e.as:"script",l='link[rel="modulepreload"][as="'+qe(n)+'"][href="'+qe(t)+'"]',s=l;switch(n){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":s=Ol(t)}if(!Je.has(s)&&(t=g({rel:"modulepreload",href:t},e),Je.set(s,t),a.querySelector(l)===null)){switch(n){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(a.querySelector(Oi(s)))return}n=a.createElement("link"),re(n,"link",t),ee(n),a.head.appendChild(n)}}}function ty(t,e,a){ja.S(t,e,a);var n=Nl;if(n&&t){var l=$n(n).hoistableStyles,s=zl(t);e=e||"default";var u=l.get(s);if(!u){var h={loading:0,preload:null};if(u=n.querySelector(zi(s)))h.loading=5;else{t=g({rel:"stylesheet",href:t,"data-precedence":e},a),(a=Je.get(s))&&Nr(t,a);var x=u=n.createElement("link");ee(x),re(x,"link",t),x._p=new Promise(function(O,D){x.onload=O,x.onerror=D}),x.addEventListener("load",function(){h.loading|=1}),x.addEventListener("error",function(){h.loading|=2}),h.loading|=4,Vs(u,e,n)}u={type:"stylesheet",instance:u,count:1,state:h},l.set(s,u)}}}function ey(t,e){ja.X(t,e);var a=Nl;if(a&&t){var n=$n(a).hoistableScripts,l=Ol(t),s=n.get(l);s||(s=a.querySelector(Oi(l)),s||(t=g({src:t,async:!0},e),(e=Je.get(l))&&zr(t,e),s=a.createElement("script"),ee(s),re(s,"link",t),a.head.appendChild(s)),s={type:"script",instance:s,count:1,state:null},n.set(l,s))}}function ay(t,e){ja.M(t,e);var a=Nl;if(a&&t){var n=$n(a).hoistableScripts,l=Ol(t),s=n.get(l);s||(s=a.querySelector(Oi(l)),s||(t=g({src:t,async:!0,type:"module"},e),(e=Je.get(l))&&zr(t,e),s=a.createElement("script"),ee(s),re(s,"link",t),a.head.appendChild(s)),s={type:"script",instance:s,count:1,state:null},n.set(l,s))}}function Vm(t,e,a,n){var l=(l=st.current)?Xs(l):null;if(!l)throw Error(c(446));switch(t){case"meta":case"title":return null;case"style":return typeof a.precedence=="string"&&typeof a.href=="string"?(e=zl(a.href),a=$n(l).hoistableStyles,n=a.get(e),n||(n={type:"style",instance:null,count:0,state:null},a.set(e,n)),n):{type:"void",instance:null,count:0,state:null};case"link":if(a.rel==="stylesheet"&&typeof a.href=="string"&&typeof a.precedence=="string"){t=zl(a.href);var s=$n(l).hoistableStyles,u=s.get(t);if(u||(l=l.ownerDocument||l,u={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},s.set(t,u),(s=l.querySelector(zi(t)))&&!s._p&&(u.instance=s,u.state.loading=5),Je.has(t)||(a={rel:"preload",as:"style",href:a.href,crossOrigin:a.crossOrigin,integrity:a.integrity,media:a.media,hrefLang:a.hrefLang,referrerPolicy:a.referrerPolicy},Je.set(t,a),s||ny(l,t,a,u.state))),e&&n===null)throw Error(c(528,""));return u}if(e&&n!==null)throw Error(c(529,""));return null;case"script":return e=a.async,a=a.src,typeof a=="string"&&e&&typeof e!="function"&&typeof e!="symbol"?(e=Ol(a),a=$n(l).hoistableScripts,n=a.get(e),n||(n={type:"script",instance:null,count:0,state:null},a.set(e,n)),n):{type:"void",instance:null,count:0,state:null};default:throw Error(c(444,t))}}function zl(t){return'href="'+qe(t)+'"'}function zi(t){return'link[rel="stylesheet"]['+t+"]"}function Qm(t){return g({},t,{"data-precedence":t.precedence,precedence:null})}function ny(t,e,a,n){t.querySelector('link[rel="preload"][as="style"]['+e+"]")?n.loading=1:(e=t.createElement("link"),n.preload=e,e.addEventListener("load",function(){return n.loading|=1}),e.addEventListener("error",function(){return n.loading|=2}),re(e,"link",a),ee(e),t.head.appendChild(e))}function Ol(t){return'[src="'+qe(t)+'"]'}function Oi(t){return"script[async]"+t}function Zm(t,e,a){if(e.count++,e.instance===null)switch(e.type){case"style":var n=t.querySelector('style[data-href~="'+qe(a.href)+'"]');if(n)return e.instance=n,ee(n),n;var l=g({},a,{"data-href":a.href,"data-precedence":a.precedence,href:null,precedence:null});return n=(t.ownerDocument||t).createElement("style"),ee(n),re(n,"style",l),Vs(n,a.precedence,t),e.instance=n;case"stylesheet":l=zl(a.href);var s=t.querySelector(zi(l));if(s)return e.state.loading|=4,e.instance=s,ee(s),s;n=Qm(a),(l=Je.get(l))&&Nr(n,l),s=(t.ownerDocument||t).createElement("link"),ee(s);var u=s;return u._p=new Promise(function(h,x){u.onload=h,u.onerror=x}),re(s,"link",n),e.state.loading|=4,Vs(s,a.precedence,t),e.instance=s;case"script":return s=Ol(a.src),(l=t.querySelector(Oi(s)))?(e.instance=l,ee(l),l):(n=a,(l=Je.get(s))&&(n=g({},a),zr(n,l)),t=t.ownerDocument||t,l=t.createElement("script"),ee(l),re(l,"link",n),t.head.appendChild(l),e.instance=l);case"void":return null;default:throw Error(c(443,e.type))}else e.type==="stylesheet"&&(e.state.loading&4)===0&&(n=e.instance,e.state.loading|=4,Vs(n,a.precedence,t));return e.instance}function Vs(t,e,a){for(var n=a.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),l=n.length?n[n.length-1]:null,s=l,u=0;u title"):null)}function ly(t,e,a){if(a===1||e.itemProp!=null)return!1;switch(t){case"meta":case"title":return!0;case"style":if(typeof e.precedence!="string"||typeof e.href!="string"||e.href==="")break;return!0;case"link":if(typeof e.rel!="string"||typeof e.href!="string"||e.href===""||e.onLoad||e.onError)break;switch(e.rel){case"stylesheet":return t=e.disabled,typeof e.precedence=="string"&&t==null;default:return!0}case"script":if(e.async&&typeof e.async!="function"&&typeof e.async!="symbol"&&!e.onLoad&&!e.onError&&e.src&&typeof e.src=="string")return!0}return!1}function $m(t){return!(t.type==="stylesheet"&&(t.state.loading&3)===0)}function iy(t,e,a,n){if(a.type==="stylesheet"&&(typeof n.media!="string"||matchMedia(n.media).matches!==!1)&&(a.state.loading&4)===0){if(a.instance===null){var l=zl(n.href),s=e.querySelector(zi(l));if(s){e=s._p,e!==null&&typeof e=="object"&&typeof e.then=="function"&&(t.count++,t=Zs.bind(t),e.then(t,t)),a.state.loading|=4,a.instance=s,ee(s);return}s=e.ownerDocument||e,n=Qm(n),(l=Je.get(l))&&Nr(n,l),s=s.createElement("link"),ee(s);var u=s;u._p=new Promise(function(h,x){u.onload=h,u.onerror=x}),re(s,"link",n),a.instance=s}t.stylesheets===null&&(t.stylesheets=new Map),t.stylesheets.set(a,e),(e=a.state.preload)&&(a.state.loading&3)===0&&(t.count++,a=Zs.bind(t),e.addEventListener("load",a),e.addEventListener("error",a))}}var Or=0;function sy(t,e){return t.stylesheets&&t.count===0&&Js(t,t.stylesheets),0Or?50:800)+e);return t.unsuspend=a,function(){t.unsuspend=null,clearTimeout(n),clearTimeout(l)}}:null}function Zs(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Js(this,this.stylesheets);else if(this.unsuspend){var t=this.unsuspend;this.unsuspend=null,t()}}}var Ks=null;function Js(t,e){t.stylesheets=null,t.unsuspend!==null&&(t.count++,Ks=new Map,e.forEach(oy,t),Ks=null,Zs.call(t))}function oy(t,e){if(!(e.state.loading&4)){var a=Ks.get(t);if(a)var n=a.get(null);else{a=new Map,Ks.set(t,a);for(var l=t.querySelectorAll("link[data-precedence],style[data-precedence]"),s=0;s"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(i)}catch(o){console.error(o)}}return i(),Ur.exports=wy(),Ur.exports}var Ty=Ay(),H=mo();const K=Ph(H),Ny=py({__proto__:null,default:K},[H]);var zy=(i,o,r,c,f,d,p,S)=>{let v=document.documentElement,m=["light","dark"];function b(M){(Array.isArray(i)?i:[i]).forEach(C=>{let q=C==="class",X=q&&d?f.map(G=>d[G]||G):f;q?(v.classList.remove(...X),v.classList.add(d&&d[M]?d[M]:M)):v.setAttribute(C,M)}),g(M)}function g(M){S&&m.includes(M)&&(v.style.colorScheme=M)}function N(){return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}if(c)b(c);else try{let M=localStorage.getItem(o)||r,C=p&&M==="system"?N():M;b(C)}catch{}},Oy=H.createContext(void 0),_y={setTheme:i=>{},themes:[]},My=()=>{var i;return(i=H.useContext(Oy))!=null?i:_y};H.memo(({forcedTheme:i,storageKey:o,attribute:r,enableSystem:c,enableColorScheme:f,defaultTheme:d,value:p,themes:S,nonce:v,scriptProps:m})=>{let b=JSON.stringify([r,o,d,i,S,p,c,f]).slice(1,-1);return H.createElement("script",{...m,suppressHydrationWarning:!0,nonce:typeof window>"u"?v:"",dangerouslySetInnerHTML:{__html:`(${zy.toString()})(${b})`}})});var iu=Ih();const Hy=Ph(iu);function Cy(i){if(typeof document>"u")return;let o=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css",o.appendChild(r),r.styleSheet?r.styleSheet.cssText=i:r.appendChild(document.createTextNode(i))}const jy=i=>{switch(i){case"success":return Uy;case"info":return Ly;case"warning":return By;case"error":return ky;default:return null}},Ry=Array(12).fill(0),Dy=({visible:i,className:o})=>K.createElement("div",{className:["sonner-loading-wrapper",o].filter(Boolean).join(" "),"data-visible":i},K.createElement("div",{className:"sonner-spinner"},Ry.map((r,c)=>K.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${c}`})))),Uy=K.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},K.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),By=K.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},K.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),Ly=K.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},K.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),ky=K.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},K.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),qy=K.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},K.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),K.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),Yy=()=>{const[i,o]=K.useState(document.hidden);return K.useEffect(()=>{const r=()=>{o(document.hidden)};return document.addEventListener("visibilitychange",r),()=>window.removeEventListener("visibilitychange",r)},[]),i};let Jr=1;class Gy{constructor(){this.subscribe=o=>(this.subscribers.push(o),()=>{const r=this.subscribers.indexOf(o);this.subscribers.splice(r,1)}),this.publish=o=>{this.subscribers.forEach(r=>r(o))},this.addToast=o=>{this.publish(o),this.toasts=[...this.toasts,o]},this.create=o=>{var r;const{message:c,...f}=o,d=typeof o?.id=="number"||((r=o.id)==null?void 0:r.length)>0?o.id:Jr++,p=this.toasts.find(v=>v.id===d),S=o.dismissible===void 0?!0:o.dismissible;return this.dismissedToasts.has(d)&&this.dismissedToasts.delete(d),p?this.toasts=this.toasts.map(v=>v.id===d?(this.publish({...v,...o,id:d,title:c}),{...v,...o,id:d,dismissible:S,title:c}):v):this.addToast({title:c,...f,dismissible:S,id:d}),d},this.dismiss=o=>(o?(this.dismissedToasts.add(o),requestAnimationFrame(()=>this.subscribers.forEach(r=>r({id:o,dismiss:!0})))):this.toasts.forEach(r=>{this.subscribers.forEach(c=>c({id:r.id,dismiss:!0}))}),o),this.message=(o,r)=>this.create({...r,message:o}),this.error=(o,r)=>this.create({...r,message:o,type:"error"}),this.success=(o,r)=>this.create({...r,type:"success",message:o}),this.info=(o,r)=>this.create({...r,type:"info",message:o}),this.warning=(o,r)=>this.create({...r,type:"warning",message:o}),this.loading=(o,r)=>this.create({...r,type:"loading",message:o}),this.promise=(o,r)=>{if(!r)return;let c;r.loading!==void 0&&(c=this.create({...r,promise:o,type:"loading",message:r.loading,description:typeof r.description!="function"?r.description:void 0}));const f=Promise.resolve(o instanceof Function?o():o);let d=c!==void 0,p;const S=f.then(async m=>{if(p=["resolve",m],K.isValidElement(m))d=!1,this.create({id:c,type:"default",message:m});else if(Vy(m)&&!m.ok){d=!1;const g=typeof r.error=="function"?await r.error(`HTTP error! status: ${m.status}`):r.error,N=typeof r.description=="function"?await r.description(`HTTP error! status: ${m.status}`):r.description,C=typeof g=="object"&&!K.isValidElement(g)?g:{message:g};this.create({id:c,type:"error",description:N,...C})}else if(m instanceof Error){d=!1;const g=typeof r.error=="function"?await r.error(m):r.error,N=typeof r.description=="function"?await r.description(m):r.description,C=typeof g=="object"&&!K.isValidElement(g)?g:{message:g};this.create({id:c,type:"error",description:N,...C})}else if(r.success!==void 0){d=!1;const g=typeof r.success=="function"?await r.success(m):r.success,N=typeof r.description=="function"?await r.description(m):r.description,C=typeof g=="object"&&!K.isValidElement(g)?g:{message:g};this.create({id:c,type:"success",description:N,...C})}}).catch(async m=>{if(p=["reject",m],r.error!==void 0){d=!1;const b=typeof r.error=="function"?await r.error(m):r.error,g=typeof r.description=="function"?await r.description(m):r.description,M=typeof b=="object"&&!K.isValidElement(b)?b:{message:b};this.create({id:c,type:"error",description:g,...M})}}).finally(()=>{d&&(this.dismiss(c),c=void 0),r.finally==null||r.finally.call(r)}),v=()=>new Promise((m,b)=>S.then(()=>p[0]==="reject"?b(p[1]):m(p[1])).catch(b));return typeof c!="string"&&typeof c!="number"?{unwrap:v}:Object.assign(c,{unwrap:v})},this.custom=(o,r)=>{const c=r?.id||Jr++;return this.create({jsx:o(c),id:c,...r}),c},this.getActiveToasts=()=>this.toasts.filter(o=>!this.dismissedToasts.has(o.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}}const Oe=new Gy,Xy=(i,o)=>{const r=o?.id||Jr++;return Oe.addToast({title:i,...o,id:r}),r},Vy=i=>i&&typeof i=="object"&&"ok"in i&&typeof i.ok=="boolean"&&"status"in i&&typeof i.status=="number",Qy=Xy,Zy=()=>Oe.toasts,Ky=()=>Oe.getActiveToasts();Object.assign(Qy,{success:Oe.success,info:Oe.info,warning:Oe.warning,error:Oe.error,custom:Oe.custom,message:Oe.message,promise:Oe.promise,dismiss:Oe.dismiss,loading:Oe.loading},{getHistory:Zy,getToasts:Ky});Cy("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);background:var(--normal-bg);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");function ao(i){return i.label!==void 0}const Jy=3,$y="24px",Wy="16px",bh=4e3,Fy=356,Py=14,Iy=45,tv=200;function ra(...i){return i.filter(Boolean).join(" ")}function ev(i){const[o,r]=i.split("-"),c=[];return o&&c.push(o),r&&c.push(r),c}const av=i=>{var o,r,c,f,d,p,S,v,m;const{invert:b,toast:g,unstyled:N,interacting:M,setHeights:C,visibleToasts:q,heights:X,index:G,toasts:P,expanded:J,removeToast:W,defaultRichColors:I,closeButton:lt,style:Q,cancelButtonStyle:Z,actionButtonStyle:mt,className:St="",descriptionClassName:Ot="",duration:gt,position:pt,gap:vt,expandByDefault:xt,classNames:A,icons:L,closeButtonAriaLabel:j="Close toast"}=i,[it,ct]=K.useState(null),[E,B]=K.useState(null),[U,V]=K.useState(!1),[$,st]=K.useState(!1),[at,ut]=K.useState(!1),[Nt,ne]=K.useState(!1),[me,le]=K.useState(!1),[ha,$e]=K.useState(0),[Ll,Gn]=K.useState(0),gn=K.useRef(g.duration||gt||bh),kl=K.useRef(null),_e=K.useRef(null),ql=G===0,Yl=G+1<=q,he=g.type,La=g.dismissible!==!1,ge=g.className||"",wo=g.descriptionClassName||"",pn=K.useMemo(()=>X.findIndex(ft=>ft.toastId===g.id)||0,[X,g.id]),Gi=K.useMemo(()=>{var ft;return(ft=g.closeButton)!=null?ft:lt},[g.closeButton,lt]),yn=K.useMemo(()=>g.duration||gt||bh,[g.duration,gt]),Gl=K.useRef(0),ga=K.useRef(0),Xi=K.useRef(0),ka=K.useRef(null),[vn,pe]=pt.split("-"),We=K.useMemo(()=>X.reduce((ft,qt,te)=>te>=pn?ft:ft+qt.height,0),[X,pn]),ue=Yy(),Ao=g.invert||b,Xl=he==="loading";ga.current=K.useMemo(()=>pn*vt+We,[pn,We]),K.useEffect(()=>{gn.current=yn},[yn]),K.useEffect(()=>{V(!0)},[]),K.useEffect(()=>{const ft=_e.current;if(ft){const qt=ft.getBoundingClientRect().height;return Gn(qt),C(te=>[{toastId:g.id,height:qt,position:g.position},...te]),()=>C(te=>te.filter(fe=>fe.toastId!==g.id))}},[C,g.id]),K.useLayoutEffect(()=>{if(!U)return;const ft=_e.current,qt=ft.style.height;ft.style.height="auto";const te=ft.getBoundingClientRect().height;ft.style.height=qt,Gn(te),C(fe=>fe.find(Gt=>Gt.toastId===g.id)?fe.map(Gt=>Gt.toastId===g.id?{...Gt,height:te}:Gt):[{toastId:g.id,height:te,position:g.position},...fe])},[U,g.title,g.description,C,g.id,g.jsx,g.action,g.cancel]);const na=K.useCallback(()=>{st(!0),$e(ga.current),C(ft=>ft.filter(qt=>qt.toastId!==g.id)),setTimeout(()=>{W(g)},tv)},[g,W,C,ga]);K.useEffect(()=>{if(g.promise&&he==="loading"||g.duration===1/0||g.type==="loading")return;let ft;return J||M||ue?(()=>{if(Xi.current{gn.current!==1/0&&(Gl.current=new Date().getTime(),ft=setTimeout(()=>{g.onAutoClose==null||g.onAutoClose.call(g,g),na()},gn.current))})(),()=>clearTimeout(ft)},[J,M,g,he,ue,na]),K.useEffect(()=>{g.delete&&(na(),g.onDismiss==null||g.onDismiss.call(g,g))},[na,g.delete]);function Xn(){var ft;if(L?.loading){var qt;return K.createElement("div",{className:ra(A?.loader,g==null||(qt=g.classNames)==null?void 0:qt.loader,"sonner-loader"),"data-visible":he==="loading"},L.loading)}return K.createElement(Dy,{className:ra(A?.loader,g==null||(ft=g.classNames)==null?void 0:ft.loader),visible:he==="loading"})}const Vn=g.icon||L?.[he]||jy(he);var bn,la;return K.createElement("li",{tabIndex:0,ref:_e,className:ra(St,ge,A?.toast,g==null||(o=g.classNames)==null?void 0:o.toast,A?.default,A?.[he],g==null||(r=g.classNames)==null?void 0:r[he]),"data-sonner-toast":"","data-rich-colors":(bn=g.richColors)!=null?bn:I,"data-styled":!(g.jsx||g.unstyled||N),"data-mounted":U,"data-promise":!!g.promise,"data-swiped":me,"data-removed":$,"data-visible":Yl,"data-y-position":vn,"data-x-position":pe,"data-index":G,"data-front":ql,"data-swiping":at,"data-dismissible":La,"data-type":he,"data-invert":Ao,"data-swipe-out":Nt,"data-swipe-direction":E,"data-expanded":!!(J||xt&&U),"data-testid":g.testId,style:{"--index":G,"--toasts-before":G,"--z-index":P.length-G,"--offset":`${$?ha:ga.current}px`,"--initial-height":xt?"auto":`${Ll}px`,...Q,...g.style},onDragEnd:()=>{ut(!1),ct(null),ka.current=null},onPointerDown:ft=>{ft.button!==2&&(Xl||!La||(kl.current=new Date,$e(ga.current),ft.target.setPointerCapture(ft.pointerId),ft.target.tagName!=="BUTTON"&&(ut(!0),ka.current={x:ft.clientX,y:ft.clientY})))},onPointerUp:()=>{var ft,qt,te;if(Nt||!La)return;ka.current=null;const fe=Number(((ft=_e.current)==null?void 0:ft.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),qa=Number(((qt=_e.current)==null?void 0:qt.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),Gt=new Date().getTime()-((te=kl.current)==null?void 0:te.getTime()),ve=it==="x"?fe:qa,xn=Math.abs(ve)/Gt;if(Math.abs(ve)>=Iy||xn>.11){$e(ga.current),g.onDismiss==null||g.onDismiss.call(g,g),B(it==="x"?fe>0?"right":"left":qa>0?"down":"up"),na(),ne(!0);return}else{var be,xe;(be=_e.current)==null||be.style.setProperty("--swipe-amount-x","0px"),(xe=_e.current)==null||xe.style.setProperty("--swipe-amount-y","0px")}le(!1),ut(!1),ct(null)},onPointerMove:ft=>{var qt,te,fe;if(!ka.current||!La||((qt=window.getSelection())==null?void 0:qt.toString().length)>0)return;const Gt=ft.clientY-ka.current.y,ve=ft.clientX-ka.current.x;var xn;const be=(xn=i.swipeDirections)!=null?xn:ev(pt);!it&&(Math.abs(ve)>1||Math.abs(Gt)>1)&&ct(Math.abs(ve)>Math.abs(Gt)?"x":"y");let xe={x:0,y:0};const Qn=Fe=>1/(1.5+Math.abs(Fe)/20);if(it==="y"){if(be.includes("top")||be.includes("bottom"))if(be.includes("top")&&Gt<0||be.includes("bottom")&&Gt>0)xe.y=Gt;else{const Fe=Gt*Qn(Gt);xe.y=Math.abs(Fe)0)xe.x=ve;else{const Fe=ve*Qn(ve);xe.x=Math.abs(Fe)0||Math.abs(xe.y)>0)&&le(!0),(te=_e.current)==null||te.style.setProperty("--swipe-amount-x",`${xe.x}px`),(fe=_e.current)==null||fe.style.setProperty("--swipe-amount-y",`${xe.y}px`)}},Gi&&!g.jsx&&he!=="loading"?K.createElement("button",{"aria-label":j,"data-disabled":Xl,"data-close-button":!0,onClick:Xl||!La?()=>{}:()=>{na(),g.onDismiss==null||g.onDismiss.call(g,g)},className:ra(A?.closeButton,g==null||(c=g.classNames)==null?void 0:c.closeButton)},(la=L?.close)!=null?la:qy):null,(he||g.icon||g.promise)&&g.icon!==null&&(L?.[he]!==null||g.icon)?K.createElement("div",{"data-icon":"",className:ra(A?.icon,g==null||(f=g.classNames)==null?void 0:f.icon)},g.promise||g.type==="loading"&&!g.icon?g.icon||Xn():null,g.type!=="loading"?Vn:null):null,K.createElement("div",{"data-content":"",className:ra(A?.content,g==null||(d=g.classNames)==null?void 0:d.content)},K.createElement("div",{"data-title":"",className:ra(A?.title,g==null||(p=g.classNames)==null?void 0:p.title)},g.jsx?g.jsx:typeof g.title=="function"?g.title():g.title),g.description?K.createElement("div",{"data-description":"",className:ra(Ot,wo,A?.description,g==null||(S=g.classNames)==null?void 0:S.description)},typeof g.description=="function"?g.description():g.description):null),K.isValidElement(g.cancel)?g.cancel:g.cancel&&ao(g.cancel)?K.createElement("button",{"data-button":!0,"data-cancel":!0,style:g.cancelButtonStyle||Z,onClick:ft=>{ao(g.cancel)&&La&&(g.cancel.onClick==null||g.cancel.onClick.call(g.cancel,ft),na())},className:ra(A?.cancelButton,g==null||(v=g.classNames)==null?void 0:v.cancelButton)},g.cancel.label):null,K.isValidElement(g.action)?g.action:g.action&&ao(g.action)?K.createElement("button",{"data-button":!0,"data-action":!0,style:g.actionButtonStyle||mt,onClick:ft=>{ao(g.action)&&(g.action.onClick==null||g.action.onClick.call(g.action,ft),!ft.defaultPrevented&&na())},className:ra(A?.actionButton,g==null||(m=g.classNames)==null?void 0:m.actionButton)},g.action.label):null)};function xh(){if(typeof window>"u"||typeof document>"u")return"ltr";const i=document.documentElement.getAttribute("dir");return i==="auto"||!i?window.getComputedStyle(document.documentElement).direction:i}function nv(i,o){const r={};return[i,o].forEach((c,f)=>{const d=f===1,p=d?"--mobile-offset":"--offset",S=d?Wy:$y;function v(m){["top","right","bottom","left"].forEach(b=>{r[`${p}-${b}`]=typeof m=="number"?`${m}px`:m})}typeof c=="number"||typeof c=="string"?v(c):typeof c=="object"?["top","right","bottom","left"].forEach(m=>{c[m]===void 0?r[`${p}-${m}`]=S:r[`${p}-${m}`]=typeof c[m]=="number"?`${c[m]}px`:c[m]}):v(S)}),r}const lv=K.forwardRef(function(o,r){const{id:c,invert:f,position:d="bottom-right",hotkey:p=["altKey","KeyT"],expand:S,closeButton:v,className:m,offset:b,mobileOffset:g,theme:N="light",richColors:M,duration:C,style:q,visibleToasts:X=Jy,toastOptions:G,dir:P=xh(),gap:J=Py,icons:W,containerAriaLabel:I="Notifications"}=o,[lt,Q]=K.useState([]),Z=K.useMemo(()=>c?lt.filter(U=>U.toasterId===c):lt.filter(U=>!U.toasterId),[lt,c]),mt=K.useMemo(()=>Array.from(new Set([d].concat(Z.filter(U=>U.position).map(U=>U.position)))),[Z,d]),[St,Ot]=K.useState([]),[gt,pt]=K.useState(!1),[vt,xt]=K.useState(!1),[A,L]=K.useState(N!=="system"?N:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),j=K.useRef(null),it=p.join("+").replace(/Key/g,"").replace(/Digit/g,""),ct=K.useRef(null),E=K.useRef(!1),B=K.useCallback(U=>{Q(V=>{var $;return($=V.find(st=>st.id===U.id))!=null&&$.delete||Oe.dismiss(U.id),V.filter(({id:st})=>st!==U.id)})},[]);return K.useEffect(()=>Oe.subscribe(U=>{if(U.dismiss){requestAnimationFrame(()=>{Q(V=>V.map($=>$.id===U.id?{...$,delete:!0}:$))});return}setTimeout(()=>{Hy.flushSync(()=>{Q(V=>{const $=V.findIndex(st=>st.id===U.id);return $!==-1?[...V.slice(0,$),{...V[$],...U},...V.slice($+1)]:[U,...V]})})})}),[lt]),K.useEffect(()=>{if(N!=="system"){L(N);return}if(N==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?L("dark"):L("light")),typeof window>"u")return;const U=window.matchMedia("(prefers-color-scheme: dark)");try{U.addEventListener("change",({matches:V})=>{L(V?"dark":"light")})}catch{U.addListener(({matches:$})=>{try{L($?"dark":"light")}catch(st){console.error(st)}})}},[N]),K.useEffect(()=>{lt.length<=1&&pt(!1)},[lt]),K.useEffect(()=>{const U=V=>{var $;if(p.every(ut=>V[ut]||V.code===ut)){var at;pt(!0),(at=j.current)==null||at.focus()}V.code==="Escape"&&(document.activeElement===j.current||($=j.current)!=null&&$.contains(document.activeElement))&&pt(!1)};return document.addEventListener("keydown",U),()=>document.removeEventListener("keydown",U)},[p]),K.useEffect(()=>{if(j.current)return()=>{ct.current&&(ct.current.focus({preventScroll:!0}),ct.current=null,E.current=!1)}},[j.current]),K.createElement("section",{ref:r,"aria-label":`${I} ${it}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},mt.map((U,V)=>{var $;const[st,at]=U.split("-");return Z.length?K.createElement("ol",{key:U,dir:P==="auto"?xh():P,tabIndex:-1,ref:j,className:m,"data-sonner-toaster":!0,"data-sonner-theme":A,"data-y-position":st,"data-x-position":at,style:{"--front-toast-height":`${(($=St[0])==null?void 0:$.height)||0}px`,"--width":`${Fy}px`,"--gap":`${J}px`,...q,...nv(b,g)},onBlur:ut=>{E.current&&!ut.currentTarget.contains(ut.relatedTarget)&&(E.current=!1,ct.current&&(ct.current.focus({preventScroll:!0}),ct.current=null))},onFocus:ut=>{ut.target instanceof HTMLElement&&ut.target.dataset.dismissible==="false"||E.current||(E.current=!0,ct.current=ut.relatedTarget)},onMouseEnter:()=>pt(!0),onMouseMove:()=>pt(!0),onMouseLeave:()=>{vt||pt(!1)},onDragEnd:()=>pt(!1),onPointerDown:ut=>{ut.target instanceof HTMLElement&&ut.target.dataset.dismissible==="false"||xt(!0)},onPointerUp:()=>xt(!1)},Z.filter(ut=>!ut.position&&V===0||ut.position===U).map((ut,Nt)=>{var ne,me;return K.createElement(av,{key:ut.id,icons:W,index:Nt,toast:ut,defaultRichColors:M,duration:(ne=G?.duration)!=null?ne:C,className:G?.className,descriptionClassName:G?.descriptionClassName,invert:f,visibleToasts:X,closeButton:(me=G?.closeButton)!=null?me:v,interacting:vt,position:U,style:G?.style,unstyled:G?.unstyled,classNames:G?.classNames,cancelButtonStyle:G?.cancelButtonStyle,actionButtonStyle:G?.actionButtonStyle,closeButtonAriaLabel:G?.closeButtonAriaLabel,removeToast:B,toasts:Z.filter(le=>le.position==ut.position),heights:St.filter(le=>le.position==ut.position),setHeights:Ot,expandByDefault:S,gap:J,expanded:gt,swipeDirections:o.swipeDirections})})):null}))}),iv=({...i})=>{const{theme:o="system"}=My();return y.jsx(lv,{"data-loc":"client/src/components/ui/sonner.tsx:8",theme:o,className:"toaster group",style:{"--normal-bg":"var(--popover)","--normal-text":"var(--popover-foreground)","--normal-border":"var(--border)"},...i})};function Da(i,o,{checkForDefaultPrevented:r=!0}={}){return function(f){if(i?.(f),r===!1||!f.defaultPrevented)return o?.(f)}}function Sh(i,o){if(typeof i=="function")return i(o);i!=null&&(i.current=o)}function tg(...i){return o=>{let r=!1;const c=i.map(f=>{const d=Sh(f,o);return!r&&typeof d=="function"&&(r=!0),d});if(r)return()=>{for(let f=0;f{const{scope:N,children:M,...C}=g,q=N?.[i]?.[v]||S,X=H.useMemo(()=>C,Object.values(C));return y.jsx(q.Provider,{value:X,children:M})};m.displayName=d+"Provider";function b(g,N){const M=N?.[i]?.[v]||S,C=H.useContext(M);if(C)return C;if(p!==void 0)return p;throw new Error(`\`${g}\` must be used within \`${d}\``)}return[m,b]}const f=()=>{const d=r.map(p=>H.createContext(p));return function(S){const v=S?.[i]||d;return H.useMemo(()=>({[`__scope${i}`]:{...S,[i]:v}}),[S,v])}};return f.scopeName=i,[c,sv(f,...o)]}function sv(...i){const o=i[0];if(i.length===1)return o;const r=()=>{const c=i.map(f=>({useScope:f(),scopeName:f.scopeName}));return function(d){const p=c.reduce((S,{useScope:v,scopeName:m})=>{const g=v(d)[`__scope${m}`];return{...S,...g}},{});return H.useMemo(()=>({[`__scope${o.scopeName}`]:p}),[p])}};return r.scopeName=o.scopeName,r}function ag(i){const o=cv(i),r=H.forwardRef((c,f)=>{const{children:d,...p}=c,S=H.Children.toArray(d),v=S.find(uv);if(v){const m=v.props.children,b=S.map(g=>g===v?H.Children.count(m)>1?H.Children.only(null):H.isValidElement(m)?m.props.children:null:g);return y.jsx(o,{...p,ref:f,children:H.isValidElement(m)?H.cloneElement(m,void 0,b):null})}return y.jsx(o,{...p,ref:f,children:d})});return r.displayName=`${i}.Slot`,r}var ov=ag("Slot");function cv(i){const o=H.forwardRef((r,c)=>{const{children:f,...d}=r;if(H.isValidElement(f)){const p=dv(f),S=fv(d,f.props);return f.type!==H.Fragment&&(S.ref=c?tg(c,p):p),H.cloneElement(f,S)}return H.Children.count(f)>1?H.Children.only(null):null});return o.displayName=`${i}.SlotClone`,o}var ng=Symbol("radix.slottable");function rv(i){const o=({children:r})=>y.jsx(y.Fragment,{children:r});return o.displayName=`${i}.Slottable`,o.__radixId=ng,o}function uv(i){return H.isValidElement(i)&&typeof i.type=="function"&&"__radixId"in i.type&&i.type.__radixId===ng}function fv(i,o){const r={...o};for(const c in o){const f=i[c],d=o[c];/^on[A-Z]/.test(c)?f&&d?r[c]=(...S)=>{const v=d(...S);return f(...S),v}:f&&(r[c]=f):c==="style"?r[c]={...f,...d}:c==="className"&&(r[c]=[f,d].filter(Boolean).join(" "))}return{...i,...r}}function dv(i){let o=Object.getOwnPropertyDescriptor(i.props,"ref")?.get,r=o&&"isReactWarning"in o&&o.isReactWarning;return r?i.ref:(o=Object.getOwnPropertyDescriptor(i,"ref")?.get,r=o&&"isReactWarning"in o&&o.isReactWarning,r?i.props.ref:i.props.ref||i.ref)}var mv=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Yn=mv.reduce((i,o)=>{const r=ag(`Primitive.${o}`),c=H.forwardRef((f,d)=>{const{asChild:p,...S}=f,v=p?r:o;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),y.jsx(v,{...S,ref:d})});return c.displayName=`Primitive.${o}`,{...i,[o]:c}},{});function hv(i,o){i&&iu.flushSync(()=>i.dispatchEvent(o))}function ho(i){const o=H.useRef(i);return H.useEffect(()=>{o.current=i}),H.useMemo(()=>(...r)=>o.current?.(...r),[])}function gv(i,o=globalThis?.document){const r=ho(i);H.useEffect(()=>{const c=f=>{f.key==="Escape"&&r(f)};return o.addEventListener("keydown",c,{capture:!0}),()=>o.removeEventListener("keydown",c,{capture:!0})},[r,o])}var pv="DismissableLayer",$r="dismissableLayer.update",yv="dismissableLayer.pointerDownOutside",vv="dismissableLayer.focusOutside",Eh,lg=H.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),ig=H.forwardRef((i,o)=>{const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:c,onPointerDownOutside:f,onFocusOutside:d,onInteractOutside:p,onDismiss:S,...v}=i,m=H.useContext(lg),[b,g]=H.useState(null),N=b?.ownerDocument??globalThis?.document,[,M]=H.useState({}),C=qn(o,Q=>g(Q)),q=Array.from(m.layers),[X]=[...m.layersWithOutsidePointerEventsDisabled].slice(-1),G=q.indexOf(X),P=b?q.indexOf(b):-1,J=m.layersWithOutsidePointerEventsDisabled.size>0,W=P>=G,I=Sv(Q=>{const Z=Q.target,mt=[...m.branches].some(St=>St.contains(Z));!W||mt||(f?.(Q),p?.(Q),Q.defaultPrevented||S?.())},N),lt=Ev(Q=>{const Z=Q.target;[...m.branches].some(St=>St.contains(Z))||(d?.(Q),p?.(Q),Q.defaultPrevented||S?.())},N);return gv(Q=>{P===m.layers.size-1&&(c?.(Q),!Q.defaultPrevented&&S&&(Q.preventDefault(),S()))},N),H.useEffect(()=>{if(b)return r&&(m.layersWithOutsidePointerEventsDisabled.size===0&&(Eh=N.body.style.pointerEvents,N.body.style.pointerEvents="none"),m.layersWithOutsidePointerEventsDisabled.add(b)),m.layers.add(b),wh(),()=>{r&&m.layersWithOutsidePointerEventsDisabled.size===1&&(N.body.style.pointerEvents=Eh)}},[b,N,r,m]),H.useEffect(()=>()=>{b&&(m.layers.delete(b),m.layersWithOutsidePointerEventsDisabled.delete(b),wh())},[b,m]),H.useEffect(()=>{const Q=()=>M({});return document.addEventListener($r,Q),()=>document.removeEventListener($r,Q)},[]),y.jsx(Yn.div,{...v,ref:C,style:{pointerEvents:J?W?"auto":"none":void 0,...i.style},onFocusCapture:Da(i.onFocusCapture,lt.onFocusCapture),onBlurCapture:Da(i.onBlurCapture,lt.onBlurCapture),onPointerDownCapture:Da(i.onPointerDownCapture,I.onPointerDownCapture)})});ig.displayName=pv;var bv="DismissableLayerBranch",xv=H.forwardRef((i,o)=>{const r=H.useContext(lg),c=H.useRef(null),f=qn(o,c);return H.useEffect(()=>{const d=c.current;if(d)return r.branches.add(d),()=>{r.branches.delete(d)}},[r.branches]),y.jsx(Yn.div,{...i,ref:f})});xv.displayName=bv;function Sv(i,o=globalThis?.document){const r=ho(i),c=H.useRef(!1),f=H.useRef(()=>{});return H.useEffect(()=>{const d=S=>{if(S.target&&!c.current){let v=function(){sg(yv,r,m,{discrete:!0})};const m={originalEvent:S};S.pointerType==="touch"?(o.removeEventListener("click",f.current),f.current=v,o.addEventListener("click",f.current,{once:!0})):v()}else o.removeEventListener("click",f.current);c.current=!1},p=window.setTimeout(()=>{o.addEventListener("pointerdown",d)},0);return()=>{window.clearTimeout(p),o.removeEventListener("pointerdown",d),o.removeEventListener("click",f.current)}},[o,r]),{onPointerDownCapture:()=>c.current=!0}}function Ev(i,o=globalThis?.document){const r=ho(i),c=H.useRef(!1);return H.useEffect(()=>{const f=d=>{d.target&&!c.current&&sg(vv,r,{originalEvent:d},{discrete:!1})};return o.addEventListener("focusin",f),()=>o.removeEventListener("focusin",f)},[o,r]),{onFocusCapture:()=>c.current=!0,onBlurCapture:()=>c.current=!1}}function wh(){const i=new CustomEvent($r);document.dispatchEvent(i)}function sg(i,o,r,{discrete:c}){const f=r.originalEvent.target,d=new CustomEvent(i,{bubbles:!1,cancelable:!0,detail:r});o&&f.addEventListener(i,o,{once:!0}),c?hv(f,d):f.dispatchEvent(d)}var Bi=globalThis?.document?H.useLayoutEffect:()=>{};const wv=["top","right","bottom","left"],mn=Math.min,Be=Math.max,co=Math.round,no=Math.floor,fa=i=>({x:i,y:i}),Av={left:"right",right:"left",bottom:"top",top:"bottom"},Tv={start:"end",end:"start"};function Wr(i,o,r){return Be(i,mn(o,r))}function Ua(i,o){return typeof i=="function"?i(o):i}function Ba(i){return i.split("-")[0]}function Rl(i){return i.split("-")[1]}function su(i){return i==="x"?"y":"x"}function ou(i){return i==="y"?"height":"width"}const Nv=new Set(["top","bottom"]);function ua(i){return Nv.has(Ba(i))?"y":"x"}function cu(i){return su(ua(i))}function zv(i,o,r){r===void 0&&(r=!1);const c=Rl(i),f=cu(i),d=ou(f);let p=f==="x"?c===(r?"end":"start")?"right":"left":c==="start"?"bottom":"top";return o.reference[d]>o.floating[d]&&(p=ro(p)),[p,ro(p)]}function Ov(i){const o=ro(i);return[Fr(i),o,Fr(o)]}function Fr(i){return i.replace(/start|end/g,o=>Tv[o])}const Ah=["left","right"],Th=["right","left"],_v=["top","bottom"],Mv=["bottom","top"];function Hv(i,o,r){switch(i){case"top":case"bottom":return r?o?Th:Ah:o?Ah:Th;case"left":case"right":return o?_v:Mv;default:return[]}}function Cv(i,o,r,c){const f=Rl(i);let d=Hv(Ba(i),r==="start",c);return f&&(d=d.map(p=>p+"-"+f),o&&(d=d.concat(d.map(Fr)))),d}function ro(i){return i.replace(/left|right|bottom|top/g,o=>Av[o])}function jv(i){return{top:0,right:0,bottom:0,left:0,...i}}function og(i){return typeof i!="number"?jv(i):{top:i,right:i,bottom:i,left:i}}function uo(i){const{x:o,y:r,width:c,height:f}=i;return{width:c,height:f,top:r,left:o,right:o+c,bottom:r+f,x:o,y:r}}function Nh(i,o,r){let{reference:c,floating:f}=i;const d=ua(o),p=cu(o),S=ou(p),v=Ba(o),m=d==="y",b=c.x+c.width/2-f.width/2,g=c.y+c.height/2-f.height/2,N=c[S]/2-f[S]/2;let M;switch(v){case"top":M={x:b,y:c.y-f.height};break;case"bottom":M={x:b,y:c.y+c.height};break;case"right":M={x:c.x+c.width,y:g};break;case"left":M={x:c.x-f.width,y:g};break;default:M={x:c.x,y:c.y}}switch(Rl(o)){case"start":M[p]-=N*(r&&m?-1:1);break;case"end":M[p]+=N*(r&&m?-1:1);break}return M}const Rv=async(i,o,r)=>{const{placement:c="bottom",strategy:f="absolute",middleware:d=[],platform:p}=r,S=d.filter(Boolean),v=await(p.isRTL==null?void 0:p.isRTL(o));let m=await p.getElementRects({reference:i,floating:o,strategy:f}),{x:b,y:g}=Nh(m,c,v),N=c,M={},C=0;for(let q=0;q({name:"arrow",options:i,async fn(o){const{x:r,y:c,placement:f,rects:d,platform:p,elements:S,middlewareData:v}=o,{element:m,padding:b=0}=Ua(i,o)||{};if(m==null)return{};const g=og(b),N={x:r,y:c},M=cu(f),C=ou(M),q=await p.getDimensions(m),X=M==="y",G=X?"top":"left",P=X?"bottom":"right",J=X?"clientHeight":"clientWidth",W=d.reference[C]+d.reference[M]-N[M]-d.floating[C],I=N[M]-d.reference[M],lt=await(p.getOffsetParent==null?void 0:p.getOffsetParent(m));let Q=lt?lt[J]:0;(!Q||!await(p.isElement==null?void 0:p.isElement(lt)))&&(Q=S.floating[J]||d.floating[C]);const Z=W/2-I/2,mt=Q/2-q[C]/2-1,St=mn(g[G],mt),Ot=mn(g[P],mt),gt=St,pt=Q-q[C]-Ot,vt=Q/2-q[C]/2+Z,xt=Wr(gt,vt,pt),A=!v.arrow&&Rl(f)!=null&&vt!==xt&&d.reference[C]/2-(vtvt<=0)){var Ot,gt;const vt=(((Ot=d.flip)==null?void 0:Ot.index)||0)+1,xt=Q[vt];if(xt&&(!(g==="alignment"?P!==ua(xt):!1)||St.every(j=>ua(j.placement)===P?j.overflows[0]>0:!0)))return{data:{index:vt,overflows:St},reset:{placement:xt}};let A=(gt=St.filter(L=>L.overflows[0]<=0).sort((L,j)=>L.overflows[1]-j.overflows[1])[0])==null?void 0:gt.placement;if(!A)switch(M){case"bestFit":{var pt;const L=(pt=St.filter(j=>{if(lt){const it=ua(j.placement);return it===P||it==="y"}return!0}).map(j=>[j.placement,j.overflows.filter(it=>it>0).reduce((it,ct)=>it+ct,0)]).sort((j,it)=>j[1]-it[1])[0])==null?void 0:pt[0];L&&(A=L);break}case"initialPlacement":A=S;break}if(f!==A)return{reset:{placement:A}}}return{}}}};function zh(i,o){return{top:i.top-o.height,right:i.right-o.width,bottom:i.bottom-o.height,left:i.left-o.width}}function Oh(i){return wv.some(o=>i[o]>=0)}const Bv=function(i){return i===void 0&&(i={}),{name:"hide",options:i,async fn(o){const{rects:r}=o,{strategy:c="referenceHidden",...f}=Ua(i,o);switch(c){case"referenceHidden":{const d=await Li(o,{...f,elementContext:"reference"}),p=zh(d,r.reference);return{data:{referenceHiddenOffsets:p,referenceHidden:Oh(p)}}}case"escaped":{const d=await Li(o,{...f,altBoundary:!0}),p=zh(d,r.floating);return{data:{escapedOffsets:p,escaped:Oh(p)}}}default:return{}}}}},cg=new Set(["left","top"]);async function Lv(i,o){const{placement:r,platform:c,elements:f}=i,d=await(c.isRTL==null?void 0:c.isRTL(f.floating)),p=Ba(r),S=Rl(r),v=ua(r)==="y",m=cg.has(p)?-1:1,b=d&&v?-1:1,g=Ua(o,i);let{mainAxis:N,crossAxis:M,alignmentAxis:C}=typeof g=="number"?{mainAxis:g,crossAxis:0,alignmentAxis:null}:{mainAxis:g.mainAxis||0,crossAxis:g.crossAxis||0,alignmentAxis:g.alignmentAxis};return S&&typeof C=="number"&&(M=S==="end"?C*-1:C),v?{x:M*b,y:N*m}:{x:N*m,y:M*b}}const kv=function(i){return i===void 0&&(i=0),{name:"offset",options:i,async fn(o){var r,c;const{x:f,y:d,placement:p,middlewareData:S}=o,v=await Lv(o,i);return p===((r=S.offset)==null?void 0:r.placement)&&(c=S.arrow)!=null&&c.alignmentOffset?{}:{x:f+v.x,y:d+v.y,data:{...v,placement:p}}}}},qv=function(i){return i===void 0&&(i={}),{name:"shift",options:i,async fn(o){const{x:r,y:c,placement:f}=o,{mainAxis:d=!0,crossAxis:p=!1,limiter:S={fn:X=>{let{x:G,y:P}=X;return{x:G,y:P}}},...v}=Ua(i,o),m={x:r,y:c},b=await Li(o,v),g=ua(Ba(f)),N=su(g);let M=m[N],C=m[g];if(d){const X=N==="y"?"top":"left",G=N==="y"?"bottom":"right",P=M+b[X],J=M-b[G];M=Wr(P,M,J)}if(p){const X=g==="y"?"top":"left",G=g==="y"?"bottom":"right",P=C+b[X],J=C-b[G];C=Wr(P,C,J)}const q=S.fn({...o,[N]:M,[g]:C});return{...q,data:{x:q.x-r,y:q.y-c,enabled:{[N]:d,[g]:p}}}}}},Yv=function(i){return i===void 0&&(i={}),{options:i,fn(o){const{x:r,y:c,placement:f,rects:d,middlewareData:p}=o,{offset:S=0,mainAxis:v=!0,crossAxis:m=!0}=Ua(i,o),b={x:r,y:c},g=ua(f),N=su(g);let M=b[N],C=b[g];const q=Ua(S,o),X=typeof q=="number"?{mainAxis:q,crossAxis:0}:{mainAxis:0,crossAxis:0,...q};if(v){const J=N==="y"?"height":"width",W=d.reference[N]-d.floating[J]+X.mainAxis,I=d.reference[N]+d.reference[J]-X.mainAxis;MI&&(M=I)}if(m){var G,P;const J=N==="y"?"width":"height",W=cg.has(Ba(f)),I=d.reference[g]-d.floating[J]+(W&&((G=p.offset)==null?void 0:G[g])||0)+(W?0:X.crossAxis),lt=d.reference[g]+d.reference[J]+(W?0:((P=p.offset)==null?void 0:P[g])||0)-(W?X.crossAxis:0);Clt&&(C=lt)}return{[N]:M,[g]:C}}}},Gv=function(i){return i===void 0&&(i={}),{name:"size",options:i,async fn(o){var r,c;const{placement:f,rects:d,platform:p,elements:S}=o,{apply:v=()=>{},...m}=Ua(i,o),b=await Li(o,m),g=Ba(f),N=Rl(f),M=ua(f)==="y",{width:C,height:q}=d.floating;let X,G;g==="top"||g==="bottom"?(X=g,G=N===(await(p.isRTL==null?void 0:p.isRTL(S.floating))?"start":"end")?"left":"right"):(G=g,X=N==="end"?"top":"bottom");const P=q-b.top-b.bottom,J=C-b.left-b.right,W=mn(q-b[X],P),I=mn(C-b[G],J),lt=!o.middlewareData.shift;let Q=W,Z=I;if((r=o.middlewareData.shift)!=null&&r.enabled.x&&(Z=J),(c=o.middlewareData.shift)!=null&&c.enabled.y&&(Q=P),lt&&!N){const St=Be(b.left,0),Ot=Be(b.right,0),gt=Be(b.top,0),pt=Be(b.bottom,0);M?Z=C-2*(St!==0||Ot!==0?St+Ot:Be(b.left,b.right)):Q=q-2*(gt!==0||pt!==0?gt+pt:Be(b.top,b.bottom))}await v({...o,availableWidth:Z,availableHeight:Q});const mt=await p.getDimensions(S.floating);return C!==mt.width||q!==mt.height?{reset:{rects:!0}}:{}}}};function go(){return typeof window<"u"}function Dl(i){return rg(i)?(i.nodeName||"").toLowerCase():"#document"}function Le(i){var o;return(i==null||(o=i.ownerDocument)==null?void 0:o.defaultView)||window}function ma(i){var o;return(o=(rg(i)?i.ownerDocument:i.document)||window.document)==null?void 0:o.documentElement}function rg(i){return go()?i instanceof Node||i instanceof Le(i).Node:!1}function ea(i){return go()?i instanceof Element||i instanceof Le(i).Element:!1}function da(i){return go()?i instanceof HTMLElement||i instanceof Le(i).HTMLElement:!1}function _h(i){return!go()||typeof ShadowRoot>"u"?!1:i instanceof ShadowRoot||i instanceof Le(i).ShadowRoot}const Xv=new Set(["inline","contents"]);function qi(i){const{overflow:o,overflowX:r,overflowY:c,display:f}=aa(i);return/auto|scroll|overlay|hidden|clip/.test(o+c+r)&&!Xv.has(f)}const Vv=new Set(["table","td","th"]);function Qv(i){return Vv.has(Dl(i))}const Zv=[":popover-open",":modal"];function po(i){return Zv.some(o=>{try{return i.matches(o)}catch{return!1}})}const Kv=["transform","translate","scale","rotate","perspective"],Jv=["transform","translate","scale","rotate","perspective","filter"],$v=["paint","layout","strict","content"];function ru(i){const o=uu(),r=ea(i)?aa(i):i;return Kv.some(c=>r[c]?r[c]!=="none":!1)||(r.containerType?r.containerType!=="normal":!1)||!o&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!o&&(r.filter?r.filter!=="none":!1)||Jv.some(c=>(r.willChange||"").includes(c))||$v.some(c=>(r.contain||"").includes(c))}function Wv(i){let o=hn(i);for(;da(o)&&!Cl(o);){if(ru(o))return o;if(po(o))return null;o=hn(o)}return null}function uu(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const Fv=new Set(["html","body","#document"]);function Cl(i){return Fv.has(Dl(i))}function aa(i){return Le(i).getComputedStyle(i)}function yo(i){return ea(i)?{scrollLeft:i.scrollLeft,scrollTop:i.scrollTop}:{scrollLeft:i.scrollX,scrollTop:i.scrollY}}function hn(i){if(Dl(i)==="html")return i;const o=i.assignedSlot||i.parentNode||_h(i)&&i.host||ma(i);return _h(o)?o.host:o}function ug(i){const o=hn(i);return Cl(o)?i.ownerDocument?i.ownerDocument.body:i.body:da(o)&&qi(o)?o:ug(o)}function ki(i,o,r){var c;o===void 0&&(o=[]),r===void 0&&(r=!0);const f=ug(i),d=f===((c=i.ownerDocument)==null?void 0:c.body),p=Le(f);if(d){const S=Pr(p);return o.concat(p,p.visualViewport||[],qi(f)?f:[],S&&r?ki(S):[])}return o.concat(f,ki(f,[],r))}function Pr(i){return i.parent&&Object.getPrototypeOf(i.parent)?i.frameElement:null}function fg(i){const o=aa(i);let r=parseFloat(o.width)||0,c=parseFloat(o.height)||0;const f=da(i),d=f?i.offsetWidth:r,p=f?i.offsetHeight:c,S=co(r)!==d||co(c)!==p;return S&&(r=d,c=p),{width:r,height:c,$:S}}function fu(i){return ea(i)?i:i.contextElement}function Hl(i){const o=fu(i);if(!da(o))return fa(1);const r=o.getBoundingClientRect(),{width:c,height:f,$:d}=fg(o);let p=(d?co(r.width):r.width)/c,S=(d?co(r.height):r.height)/f;return(!p||!Number.isFinite(p))&&(p=1),(!S||!Number.isFinite(S))&&(S=1),{x:p,y:S}}const Pv=fa(0);function dg(i){const o=Le(i);return!uu()||!o.visualViewport?Pv:{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}}function Iv(i,o,r){return o===void 0&&(o=!1),!r||o&&r!==Le(i)?!1:o}function kn(i,o,r,c){o===void 0&&(o=!1),r===void 0&&(r=!1);const f=i.getBoundingClientRect(),d=fu(i);let p=fa(1);o&&(c?ea(c)&&(p=Hl(c)):p=Hl(i));const S=Iv(d,r,c)?dg(d):fa(0);let v=(f.left+S.x)/p.x,m=(f.top+S.y)/p.y,b=f.width/p.x,g=f.height/p.y;if(d){const N=Le(d),M=c&&ea(c)?Le(c):c;let C=N,q=Pr(C);for(;q&&c&&M!==C;){const X=Hl(q),G=q.getBoundingClientRect(),P=aa(q),J=G.left+(q.clientLeft+parseFloat(P.paddingLeft))*X.x,W=G.top+(q.clientTop+parseFloat(P.paddingTop))*X.y;v*=X.x,m*=X.y,b*=X.x,g*=X.y,v+=J,m+=W,C=Le(q),q=Pr(C)}}return uo({width:b,height:g,x:v,y:m})}function vo(i,o){const r=yo(i).scrollLeft;return o?o.left+r:kn(ma(i)).left+r}function mg(i,o){const r=i.getBoundingClientRect(),c=r.left+o.scrollLeft-vo(i,r),f=r.top+o.scrollTop;return{x:c,y:f}}function tb(i){let{elements:o,rect:r,offsetParent:c,strategy:f}=i;const d=f==="fixed",p=ma(c),S=o?po(o.floating):!1;if(c===p||S&&d)return r;let v={scrollLeft:0,scrollTop:0},m=fa(1);const b=fa(0),g=da(c);if((g||!g&&!d)&&((Dl(c)!=="body"||qi(p))&&(v=yo(c)),da(c))){const M=kn(c);m=Hl(c),b.x=M.x+c.clientLeft,b.y=M.y+c.clientTop}const N=p&&!g&&!d?mg(p,v):fa(0);return{width:r.width*m.x,height:r.height*m.y,x:r.x*m.x-v.scrollLeft*m.x+b.x+N.x,y:r.y*m.y-v.scrollTop*m.y+b.y+N.y}}function eb(i){return Array.from(i.getClientRects())}function ab(i){const o=ma(i),r=yo(i),c=i.ownerDocument.body,f=Be(o.scrollWidth,o.clientWidth,c.scrollWidth,c.clientWidth),d=Be(o.scrollHeight,o.clientHeight,c.scrollHeight,c.clientHeight);let p=-r.scrollLeft+vo(i);const S=-r.scrollTop;return aa(c).direction==="rtl"&&(p+=Be(o.clientWidth,c.clientWidth)-f),{width:f,height:d,x:p,y:S}}const Mh=25;function nb(i,o){const r=Le(i),c=ma(i),f=r.visualViewport;let d=c.clientWidth,p=c.clientHeight,S=0,v=0;if(f){d=f.width,p=f.height;const b=uu();(!b||b&&o==="fixed")&&(S=f.offsetLeft,v=f.offsetTop)}const m=vo(c);if(m<=0){const b=c.ownerDocument,g=b.body,N=getComputedStyle(g),M=b.compatMode==="CSS1Compat"&&parseFloat(N.marginLeft)+parseFloat(N.marginRight)||0,C=Math.abs(c.clientWidth-g.clientWidth-M);C<=Mh&&(d-=C)}else m<=Mh&&(d+=m);return{width:d,height:p,x:S,y:v}}const lb=new Set(["absolute","fixed"]);function ib(i,o){const r=kn(i,!0,o==="fixed"),c=r.top+i.clientTop,f=r.left+i.clientLeft,d=da(i)?Hl(i):fa(1),p=i.clientWidth*d.x,S=i.clientHeight*d.y,v=f*d.x,m=c*d.y;return{width:p,height:S,x:v,y:m}}function Hh(i,o,r){let c;if(o==="viewport")c=nb(i,r);else if(o==="document")c=ab(ma(i));else if(ea(o))c=ib(o,r);else{const f=dg(i);c={x:o.x-f.x,y:o.y-f.y,width:o.width,height:o.height}}return uo(c)}function hg(i,o){const r=hn(i);return r===o||!ea(r)||Cl(r)?!1:aa(r).position==="fixed"||hg(r,o)}function sb(i,o){const r=o.get(i);if(r)return r;let c=ki(i,[],!1).filter(S=>ea(S)&&Dl(S)!=="body"),f=null;const d=aa(i).position==="fixed";let p=d?hn(i):i;for(;ea(p)&&!Cl(p);){const S=aa(p),v=ru(p);!v&&S.position==="fixed"&&(f=null),(d?!v&&!f:!v&&S.position==="static"&&!!f&&lb.has(f.position)||qi(p)&&!v&&hg(i,p))?c=c.filter(b=>b!==p):f=S,p=hn(p)}return o.set(i,c),c}function ob(i){let{element:o,boundary:r,rootBoundary:c,strategy:f}=i;const p=[...r==="clippingAncestors"?po(o)?[]:sb(o,this._c):[].concat(r),c],S=p[0],v=p.reduce((m,b)=>{const g=Hh(o,b,f);return m.top=Be(g.top,m.top),m.right=mn(g.right,m.right),m.bottom=mn(g.bottom,m.bottom),m.left=Be(g.left,m.left),m},Hh(o,S,f));return{width:v.right-v.left,height:v.bottom-v.top,x:v.left,y:v.top}}function cb(i){const{width:o,height:r}=fg(i);return{width:o,height:r}}function rb(i,o,r){const c=da(o),f=ma(o),d=r==="fixed",p=kn(i,!0,d,o);let S={scrollLeft:0,scrollTop:0};const v=fa(0);function m(){v.x=vo(f)}if(c||!c&&!d)if((Dl(o)!=="body"||qi(f))&&(S=yo(o)),c){const M=kn(o,!0,d,o);v.x=M.x+o.clientLeft,v.y=M.y+o.clientTop}else f&&m();d&&!c&&f&&m();const b=f&&!c&&!d?mg(f,S):fa(0),g=p.left+S.scrollLeft-v.x-b.x,N=p.top+S.scrollTop-v.y-b.y;return{x:g,y:N,width:p.width,height:p.height}}function Yr(i){return aa(i).position==="static"}function Ch(i,o){if(!da(i)||aa(i).position==="fixed")return null;if(o)return o(i);let r=i.offsetParent;return ma(i)===r&&(r=r.ownerDocument.body),r}function gg(i,o){const r=Le(i);if(po(i))return r;if(!da(i)){let f=hn(i);for(;f&&!Cl(f);){if(ea(f)&&!Yr(f))return f;f=hn(f)}return r}let c=Ch(i,o);for(;c&&Qv(c)&&Yr(c);)c=Ch(c,o);return c&&Cl(c)&&Yr(c)&&!ru(c)?r:c||Wv(i)||r}const ub=async function(i){const o=this.getOffsetParent||gg,r=this.getDimensions,c=await r(i.floating);return{reference:rb(i.reference,await o(i.floating),i.strategy),floating:{x:0,y:0,width:c.width,height:c.height}}};function fb(i){return aa(i).direction==="rtl"}const db={convertOffsetParentRelativeRectToViewportRelativeRect:tb,getDocumentElement:ma,getClippingRect:ob,getOffsetParent:gg,getElementRects:ub,getClientRects:eb,getDimensions:cb,getScale:Hl,isElement:ea,isRTL:fb};function pg(i,o){return i.x===o.x&&i.y===o.y&&i.width===o.width&&i.height===o.height}function mb(i,o){let r=null,c;const f=ma(i);function d(){var S;clearTimeout(c),(S=r)==null||S.disconnect(),r=null}function p(S,v){S===void 0&&(S=!1),v===void 0&&(v=1),d();const m=i.getBoundingClientRect(),{left:b,top:g,width:N,height:M}=m;if(S||o(),!N||!M)return;const C=no(g),q=no(f.clientWidth-(b+N)),X=no(f.clientHeight-(g+M)),G=no(b),J={rootMargin:-C+"px "+-q+"px "+-X+"px "+-G+"px",threshold:Be(0,mn(1,v))||1};let W=!0;function I(lt){const Q=lt[0].intersectionRatio;if(Q!==v){if(!W)return p();Q?p(!1,Q):c=setTimeout(()=>{p(!1,1e-7)},1e3)}Q===1&&!pg(m,i.getBoundingClientRect())&&p(),W=!1}try{r=new IntersectionObserver(I,{...J,root:f.ownerDocument})}catch{r=new IntersectionObserver(I,J)}r.observe(i)}return p(!0),d}function hb(i,o,r,c){c===void 0&&(c={});const{ancestorScroll:f=!0,ancestorResize:d=!0,elementResize:p=typeof ResizeObserver=="function",layoutShift:S=typeof IntersectionObserver=="function",animationFrame:v=!1}=c,m=fu(i),b=f||d?[...m?ki(m):[],...ki(o)]:[];b.forEach(G=>{f&&G.addEventListener("scroll",r,{passive:!0}),d&&G.addEventListener("resize",r)});const g=m&&S?mb(m,r):null;let N=-1,M=null;p&&(M=new ResizeObserver(G=>{let[P]=G;P&&P.target===m&&M&&(M.unobserve(o),cancelAnimationFrame(N),N=requestAnimationFrame(()=>{var J;(J=M)==null||J.observe(o)})),r()}),m&&!v&&M.observe(m),M.observe(o));let C,q=v?kn(i):null;v&&X();function X(){const G=kn(i);q&&!pg(q,G)&&r(),q=G,C=requestAnimationFrame(X)}return r(),()=>{var G;b.forEach(P=>{f&&P.removeEventListener("scroll",r),d&&P.removeEventListener("resize",r)}),g?.(),(G=M)==null||G.disconnect(),M=null,v&&cancelAnimationFrame(C)}}const gb=kv,pb=qv,yb=Uv,vb=Gv,bb=Bv,jh=Dv,xb=Yv,Sb=(i,o,r)=>{const c=new Map,f={platform:db,...r},d={...f.platform,_c:c};return Rv(i,o,{...f,platform:d})};var Eb=typeof document<"u",wb=function(){},oo=Eb?H.useLayoutEffect:wb;function fo(i,o){if(i===o)return!0;if(typeof i!=typeof o)return!1;if(typeof i=="function"&&i.toString()===o.toString())return!0;let r,c,f;if(i&&o&&typeof i=="object"){if(Array.isArray(i)){if(r=i.length,r!==o.length)return!1;for(c=r;c--!==0;)if(!fo(i[c],o[c]))return!1;return!0}if(f=Object.keys(i),r=f.length,r!==Object.keys(o).length)return!1;for(c=r;c--!==0;)if(!{}.hasOwnProperty.call(o,f[c]))return!1;for(c=r;c--!==0;){const d=f[c];if(!(d==="_owner"&&i.$$typeof)&&!fo(i[d],o[d]))return!1}return!0}return i!==i&&o!==o}function yg(i){return typeof window>"u"?1:(i.ownerDocument.defaultView||window).devicePixelRatio||1}function Rh(i,o){const r=yg(i);return Math.round(o*r)/r}function Gr(i){const o=H.useRef(i);return oo(()=>{o.current=i}),o}function Ab(i){i===void 0&&(i={});const{placement:o="bottom",strategy:r="absolute",middleware:c=[],platform:f,elements:{reference:d,floating:p}={},transform:S=!0,whileElementsMounted:v,open:m}=i,[b,g]=H.useState({x:0,y:0,strategy:r,placement:o,middlewareData:{},isPositioned:!1}),[N,M]=H.useState(c);fo(N,c)||M(c);const[C,q]=H.useState(null),[X,G]=H.useState(null),P=H.useCallback(j=>{j!==lt.current&&(lt.current=j,q(j))},[]),J=H.useCallback(j=>{j!==Q.current&&(Q.current=j,G(j))},[]),W=d||C,I=p||X,lt=H.useRef(null),Q=H.useRef(null),Z=H.useRef(b),mt=v!=null,St=Gr(v),Ot=Gr(f),gt=Gr(m),pt=H.useCallback(()=>{if(!lt.current||!Q.current)return;const j={placement:o,strategy:r,middleware:N};Ot.current&&(j.platform=Ot.current),Sb(lt.current,Q.current,j).then(it=>{const ct={...it,isPositioned:gt.current!==!1};vt.current&&!fo(Z.current,ct)&&(Z.current=ct,iu.flushSync(()=>{g(ct)}))})},[N,o,r,Ot,gt]);oo(()=>{m===!1&&Z.current.isPositioned&&(Z.current.isPositioned=!1,g(j=>({...j,isPositioned:!1})))},[m]);const vt=H.useRef(!1);oo(()=>(vt.current=!0,()=>{vt.current=!1}),[]),oo(()=>{if(W&&(lt.current=W),I&&(Q.current=I),W&&I){if(St.current)return St.current(W,I,pt);pt()}},[W,I,pt,St,mt]);const xt=H.useMemo(()=>({reference:lt,floating:Q,setReference:P,setFloating:J}),[P,J]),A=H.useMemo(()=>({reference:W,floating:I}),[W,I]),L=H.useMemo(()=>{const j={position:r,left:0,top:0};if(!A.floating)return j;const it=Rh(A.floating,b.x),ct=Rh(A.floating,b.y);return S?{...j,transform:"translate("+it+"px, "+ct+"px)",...yg(A.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:it,top:ct}},[r,S,A.floating,b.x,b.y]);return H.useMemo(()=>({...b,update:pt,refs:xt,elements:A,floatingStyles:L}),[b,pt,xt,A,L])}const Tb=i=>{function o(r){return{}.hasOwnProperty.call(r,"current")}return{name:"arrow",options:i,fn(r){const{element:c,padding:f}=typeof i=="function"?i(r):i;return c&&o(c)?c.current!=null?jh({element:c.current,padding:f}).fn(r):{}:c?jh({element:c,padding:f}).fn(r):{}}}},Nb=(i,o)=>({...gb(i),options:[i,o]}),zb=(i,o)=>({...pb(i),options:[i,o]}),Ob=(i,o)=>({...xb(i),options:[i,o]}),_b=(i,o)=>({...yb(i),options:[i,o]}),Mb=(i,o)=>({...vb(i),options:[i,o]}),Hb=(i,o)=>({...bb(i),options:[i,o]}),Cb=(i,o)=>({...Tb(i),options:[i,o]});var jb="Arrow",vg=H.forwardRef((i,o)=>{const{children:r,width:c=10,height:f=5,...d}=i;return y.jsx(Yn.svg,{...d,ref:o,width:c,height:f,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:i.asChild?r:y.jsx("polygon",{points:"0,0 30,0 15,10"})})});vg.displayName=jb;var Rb=vg;function Db(i){const[o,r]=H.useState(void 0);return Bi(()=>{if(i){r({width:i.offsetWidth,height:i.offsetHeight});const c=new ResizeObserver(f=>{if(!Array.isArray(f)||!f.length)return;const d=f[0];let p,S;if("borderBoxSize"in d){const v=d.borderBoxSize,m=Array.isArray(v)?v[0]:v;p=m.inlineSize,S=m.blockSize}else p=i.offsetWidth,S=i.offsetHeight;r({width:p,height:S})});return c.observe(i,{box:"border-box"}),()=>c.unobserve(i)}else r(void 0)},[i]),o}var bg="Popper",[xg,Sg]=eg(bg),[J1,Eg]=xg(bg),wg="PopperAnchor",Ag=H.forwardRef((i,o)=>{const{__scopePopper:r,virtualRef:c,...f}=i,d=Eg(wg,r),p=H.useRef(null),S=qn(o,p),v=H.useRef(null);return H.useEffect(()=>{const m=v.current;v.current=c?.current||p.current,m!==v.current&&d.onAnchorChange(v.current)}),c?null:y.jsx(Yn.div,{...f,ref:S})});Ag.displayName=wg;var du="PopperContent",[Ub,Bb]=xg(du),Tg=H.forwardRef((i,o)=>{const{__scopePopper:r,side:c="bottom",sideOffset:f=0,align:d="center",alignOffset:p=0,arrowPadding:S=0,avoidCollisions:v=!0,collisionBoundary:m=[],collisionPadding:b=0,sticky:g="partial",hideWhenDetached:N=!1,updatePositionStrategy:M="optimized",onPlaced:C,...q}=i,X=Eg(du,r),[G,P]=H.useState(null),J=qn(o,at=>P(at)),[W,I]=H.useState(null),lt=Db(W),Q=lt?.width??0,Z=lt?.height??0,mt=c+(d!=="center"?"-"+d:""),St=typeof b=="number"?b:{top:0,right:0,bottom:0,left:0,...b},Ot=Array.isArray(m)?m:[m],gt=Ot.length>0,pt={padding:St,boundary:Ot.filter(kb),altBoundary:gt},{refs:vt,floatingStyles:xt,placement:A,isPositioned:L,middlewareData:j}=Ab({strategy:"fixed",placement:mt,whileElementsMounted:(...at)=>hb(...at,{animationFrame:M==="always"}),elements:{reference:X.anchor},middleware:[Nb({mainAxis:f+Z,alignmentAxis:p}),v&&zb({mainAxis:!0,crossAxis:!1,limiter:g==="partial"?Ob():void 0,...pt}),v&&_b({...pt}),Mb({...pt,apply:({elements:at,rects:ut,availableWidth:Nt,availableHeight:ne})=>{const{width:me,height:le}=ut.reference,ha=at.floating.style;ha.setProperty("--radix-popper-available-width",`${Nt}px`),ha.setProperty("--radix-popper-available-height",`${ne}px`),ha.setProperty("--radix-popper-anchor-width",`${me}px`),ha.setProperty("--radix-popper-anchor-height",`${le}px`)}}),W&&Cb({element:W,padding:S}),qb({arrowWidth:Q,arrowHeight:Z}),N&&Hb({strategy:"referenceHidden",...pt})]}),[it,ct]=Og(A),E=ho(C);Bi(()=>{L&&E?.()},[L,E]);const B=j.arrow?.x,U=j.arrow?.y,V=j.arrow?.centerOffset!==0,[$,st]=H.useState();return Bi(()=>{G&&st(window.getComputedStyle(G).zIndex)},[G]),y.jsx("div",{ref:vt.setFloating,"data-radix-popper-content-wrapper":"",style:{...xt,transform:L?xt.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:$,"--radix-popper-transform-origin":[j.transformOrigin?.x,j.transformOrigin?.y].join(" "),...j.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:i.dir,children:y.jsx(Ub,{scope:r,placedSide:it,onArrowChange:I,arrowX:B,arrowY:U,shouldHideArrow:V,children:y.jsx(Yn.div,{"data-side":it,"data-align":ct,...q,ref:J,style:{...q.style,animation:L?void 0:"none"}})})})});Tg.displayName=du;var Ng="PopperArrow",Lb={top:"bottom",right:"left",bottom:"top",left:"right"},zg=H.forwardRef(function(o,r){const{__scopePopper:c,...f}=o,d=Bb(Ng,c),p=Lb[d.placedSide];return y.jsx("span",{ref:d.onArrowChange,style:{position:"absolute",left:d.arrowX,top:d.arrowY,[p]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[d.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[d.placedSide],visibility:d.shouldHideArrow?"hidden":void 0},children:y.jsx(Rb,{...f,ref:r,style:{...f.style,display:"block"}})})});zg.displayName=Ng;function kb(i){return i!==null}var qb=i=>({name:"transformOrigin",options:i,fn(o){const{placement:r,rects:c,middlewareData:f}=o,p=f.arrow?.centerOffset!==0,S=p?0:i.arrowWidth,v=p?0:i.arrowHeight,[m,b]=Og(r),g={start:"0%",center:"50%",end:"100%"}[b],N=(f.arrow?.x??0)+S/2,M=(f.arrow?.y??0)+v/2;let C="",q="";return m==="bottom"?(C=p?g:`${N}px`,q=`${-v}px`):m==="top"?(C=p?g:`${N}px`,q=`${c.floating.height+v}px`):m==="right"?(C=`${-v}px`,q=p?g:`${M}px`):m==="left"&&(C=`${c.floating.width+v}px`,q=p?g:`${M}px`),{data:{x:C,y:q}}}});function Og(i){const[o,r="center"]=i.split("-");return[o,r]}var Yb=Ag,Gb=Tg,Xb=zg;function Vb(i,o){return H.useReducer((r,c)=>o[r][c]??r,i)}var _g=i=>{const{present:o,children:r}=i,c=Qb(o),f=typeof r=="function"?r({present:c.isPresent}):H.Children.only(r),d=qn(c.ref,Zb(f));return typeof r=="function"||c.isPresent?H.cloneElement(f,{ref:d}):null};_g.displayName="Presence";function Qb(i){const[o,r]=H.useState(),c=H.useRef(null),f=H.useRef(i),d=H.useRef("none"),p=i?"mounted":"unmounted",[S,v]=Vb(p,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return H.useEffect(()=>{const m=lo(c.current);d.current=S==="mounted"?m:"none"},[S]),Bi(()=>{const m=c.current,b=f.current;if(b!==i){const N=d.current,M=lo(m);i?v("MOUNT"):M==="none"||m?.display==="none"?v("UNMOUNT"):v(b&&N!==M?"ANIMATION_OUT":"UNMOUNT"),f.current=i}},[i,v]),Bi(()=>{if(o){let m;const b=o.ownerDocument.defaultView??window,g=M=>{const q=lo(c.current).includes(CSS.escape(M.animationName));if(M.target===o&&q&&(v("ANIMATION_END"),!f.current)){const X=o.style.animationFillMode;o.style.animationFillMode="forwards",m=b.setTimeout(()=>{o.style.animationFillMode==="forwards"&&(o.style.animationFillMode=X)})}},N=M=>{M.target===o&&(d.current=lo(c.current))};return o.addEventListener("animationstart",N),o.addEventListener("animationcancel",g),o.addEventListener("animationend",g),()=>{b.clearTimeout(m),o.removeEventListener("animationstart",N),o.removeEventListener("animationcancel",g),o.removeEventListener("animationend",g)}}else v("ANIMATION_END")},[o,v]),{isPresent:["mounted","unmountSuspended"].includes(S),ref:H.useCallback(m=>{c.current=m?getComputedStyle(m):null,r(m)},[])}}function lo(i){return i?.animationName||"none"}function Zb(i){let o=Object.getOwnPropertyDescriptor(i.props,"ref")?.get,r=o&&"isReactWarning"in o&&o.isReactWarning;return r?i.ref:(o=Object.getOwnPropertyDescriptor(i,"ref")?.get,r=o&&"isReactWarning"in o&&o.isReactWarning,r?i.props.ref:i.props.ref||i.ref)}var Kb=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),Jb="VisuallyHidden",Mg=H.forwardRef((i,o)=>y.jsx(Yn.span,{...i,ref:o,style:{...Kb,...i.style}}));Mg.displayName=Jb;var $b=Mg,[bo]=eg("Tooltip",[Sg]),mu=Sg(),Hg="TooltipProvider",Wb=700,Dh="tooltip.open",[Fb,Cg]=bo(Hg),jg=i=>{const{__scopeTooltip:o,delayDuration:r=Wb,skipDelayDuration:c=300,disableHoverableContent:f=!1,children:d}=i,p=H.useRef(!0),S=H.useRef(!1),v=H.useRef(0);return H.useEffect(()=>{const m=v.current;return()=>window.clearTimeout(m)},[]),y.jsx(Fb,{scope:o,isOpenDelayedRef:p,delayDuration:r,onOpen:H.useCallback(()=>{window.clearTimeout(v.current),p.current=!1},[]),onClose:H.useCallback(()=>{window.clearTimeout(v.current),v.current=window.setTimeout(()=>p.current=!0,c)},[c]),isPointerInTransitRef:S,onPointerInTransitChange:H.useCallback(m=>{S.current=m},[]),disableHoverableContent:f,children:d})};jg.displayName=Hg;var Rg="Tooltip",[$1,xo]=bo(Rg),Ir="TooltipTrigger",Pb=H.forwardRef((i,o)=>{const{__scopeTooltip:r,...c}=i,f=xo(Ir,r),d=Cg(Ir,r),p=mu(r),S=H.useRef(null),v=qn(o,S,f.onTriggerChange),m=H.useRef(!1),b=H.useRef(!1),g=H.useCallback(()=>m.current=!1,[]);return H.useEffect(()=>()=>document.removeEventListener("pointerup",g),[g]),y.jsx(Yb,{asChild:!0,...p,children:y.jsx(Yn.button,{"aria-describedby":f.open?f.contentId:void 0,"data-state":f.stateAttribute,...c,ref:v,onPointerMove:Da(i.onPointerMove,N=>{N.pointerType!=="touch"&&!b.current&&!d.isPointerInTransitRef.current&&(f.onTriggerEnter(),b.current=!0)}),onPointerLeave:Da(i.onPointerLeave,()=>{f.onTriggerLeave(),b.current=!1}),onPointerDown:Da(i.onPointerDown,()=>{f.open&&f.onClose(),m.current=!0,document.addEventListener("pointerup",g,{once:!0})}),onFocus:Da(i.onFocus,()=>{m.current||f.onOpen()}),onBlur:Da(i.onBlur,f.onClose),onClick:Da(i.onClick,f.onClose)})})});Pb.displayName=Ir;var Ib="TooltipPortal",[W1,tx]=bo(Ib,{forceMount:void 0}),jl="TooltipContent",ex=H.forwardRef((i,o)=>{const r=tx(jl,i.__scopeTooltip),{forceMount:c=r.forceMount,side:f="top",...d}=i,p=xo(jl,i.__scopeTooltip);return y.jsx(_g,{present:c||p.open,children:p.disableHoverableContent?y.jsx(Dg,{side:f,...d,ref:o}):y.jsx(ax,{side:f,...d,ref:o})})}),ax=H.forwardRef((i,o)=>{const r=xo(jl,i.__scopeTooltip),c=Cg(jl,i.__scopeTooltip),f=H.useRef(null),d=qn(o,f),[p,S]=H.useState(null),{trigger:v,onClose:m}=r,b=f.current,{onPointerInTransitChange:g}=c,N=H.useCallback(()=>{S(null),g(!1)},[g]),M=H.useCallback((C,q)=>{const X=C.currentTarget,G={x:C.clientX,y:C.clientY},P=ox(G,X.getBoundingClientRect()),J=cx(G,P),W=rx(q.getBoundingClientRect()),I=fx([...J,...W]);S(I),g(!0)},[g]);return H.useEffect(()=>()=>N(),[N]),H.useEffect(()=>{if(v&&b){const C=X=>M(X,b),q=X=>M(X,v);return v.addEventListener("pointerleave",C),b.addEventListener("pointerleave",q),()=>{v.removeEventListener("pointerleave",C),b.removeEventListener("pointerleave",q)}}},[v,b,M,N]),H.useEffect(()=>{if(p){const C=q=>{const X=q.target,G={x:q.clientX,y:q.clientY},P=v?.contains(X)||b?.contains(X),J=!ux(G,p);P?N():J&&(N(),m())};return document.addEventListener("pointermove",C),()=>document.removeEventListener("pointermove",C)}},[v,b,p,m,N]),y.jsx(Dg,{...i,ref:d})}),[nx,lx]=bo(Rg,{isInside:!1}),ix=rv("TooltipContent"),Dg=H.forwardRef((i,o)=>{const{__scopeTooltip:r,children:c,"aria-label":f,onEscapeKeyDown:d,onPointerDownOutside:p,...S}=i,v=xo(jl,r),m=mu(r),{onClose:b}=v;return H.useEffect(()=>(document.addEventListener(Dh,b),()=>document.removeEventListener(Dh,b)),[b]),H.useEffect(()=>{if(v.trigger){const g=N=>{N.target?.contains(v.trigger)&&b()};return window.addEventListener("scroll",g,{capture:!0}),()=>window.removeEventListener("scroll",g,{capture:!0})}},[v.trigger,b]),y.jsx(ig,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:d,onPointerDownOutside:p,onFocusOutside:g=>g.preventDefault(),onDismiss:b,children:y.jsxs(Gb,{"data-state":v.stateAttribute,...m,...S,ref:o,style:{...S.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[y.jsx(ix,{children:c}),y.jsx(nx,{scope:r,isInside:!0,children:y.jsx($b,{id:v.contentId,role:"tooltip",children:f||c})})]})})});ex.displayName=jl;var Ug="TooltipArrow",sx=H.forwardRef((i,o)=>{const{__scopeTooltip:r,...c}=i,f=mu(r);return lx(Ug,r).isInside?null:y.jsx(Xb,{...f,...c,ref:o})});sx.displayName=Ug;function ox(i,o){const r=Math.abs(o.top-i.y),c=Math.abs(o.bottom-i.y),f=Math.abs(o.right-i.x),d=Math.abs(o.left-i.x);switch(Math.min(r,c,f,d)){case d:return"left";case f:return"right";case r:return"top";case c:return"bottom";default:throw new Error("unreachable")}}function cx(i,o,r=5){const c=[];switch(o){case"top":c.push({x:i.x-r,y:i.y+r},{x:i.x+r,y:i.y+r});break;case"bottom":c.push({x:i.x-r,y:i.y-r},{x:i.x+r,y:i.y-r});break;case"left":c.push({x:i.x+r,y:i.y-r},{x:i.x+r,y:i.y+r});break;case"right":c.push({x:i.x-r,y:i.y-r},{x:i.x-r,y:i.y+r});break}return c}function rx(i){const{top:o,right:r,bottom:c,left:f}=i;return[{x:f,y:o},{x:r,y:o},{x:r,y:c},{x:f,y:c}]}function ux(i,o){const{x:r,y:c}=i;let f=!1;for(let d=0,p=o.length-1;dc!=N>c&&r<(g-m)*(c-b)/(N-b)+m&&(f=!f)}return f}function fx(i){const o=i.slice();return o.sort((r,c)=>r.xc.x?1:r.yc.y?1:0),dx(o)}function dx(i){if(i.length<=1)return i.slice();const o=[];for(let c=0;c=2;){const d=o[o.length-1],p=o[o.length-2];if((d.x-p.x)*(f.y-p.y)>=(d.y-p.y)*(f.x-p.x))o.pop();else break}o.push(f)}o.pop();const r=[];for(let c=i.length-1;c>=0;c--){const f=i[c];for(;r.length>=2;){const d=r[r.length-1],p=r[r.length-2];if((d.x-p.x)*(f.y-p.y)>=(d.y-p.y)*(f.x-p.x))r.pop();else break}r.push(f)}return r.pop(),o.length===1&&r.length===1&&o[0].x===r[0].x&&o[0].y===r[0].y?o:o.concat(r)}var mx=jg;function Bg(i){var o,r,c="";if(typeof i=="string"||typeof i=="number")c+=i;else if(typeof i=="object")if(Array.isArray(i)){var f=i.length;for(o=0;o{const o=px(i),{conflictingClassGroups:r,conflictingClassGroupModifiers:c}=i;return{getClassGroupId:p=>{const S=p.split(hu);return S[0]===""&&S.length!==1&&S.shift(),kg(S,o)||gx(p)},getConflictingClassGroupIds:(p,S)=>{const v=r[p]||[];return S&&c[p]?[...v,...c[p]]:v}}},kg=(i,o)=>{if(i.length===0)return o.classGroupId;const r=i[0],c=o.nextPart.get(r),f=c?kg(i.slice(1),c):void 0;if(f)return f;if(o.validators.length===0)return;const d=i.join(hu);return o.validators.find(({validator:p})=>p(d))?.classGroupId},Uh=/^\[(.+)\]$/,gx=i=>{if(Uh.test(i)){const o=Uh.exec(i)[1],r=o?.substring(0,o.indexOf(":"));if(r)return"arbitrary.."+r}},px=i=>{const{theme:o,classGroups:r}=i,c={nextPart:new Map,validators:[]};for(const f in r)tu(r[f],c,f,o);return c},tu=(i,o,r,c)=>{i.forEach(f=>{if(typeof f=="string"){const d=f===""?o:Bh(o,f);d.classGroupId=r;return}if(typeof f=="function"){if(yx(f)){tu(f(c),o,r,c);return}o.validators.push({validator:f,classGroupId:r});return}Object.entries(f).forEach(([d,p])=>{tu(p,Bh(o,d),r,c)})})},Bh=(i,o)=>{let r=i;return o.split(hu).forEach(c=>{r.nextPart.has(c)||r.nextPart.set(c,{nextPart:new Map,validators:[]}),r=r.nextPart.get(c)}),r},yx=i=>i.isThemeGetter,vx=i=>{if(i<1)return{get:()=>{},set:()=>{}};let o=0,r=new Map,c=new Map;const f=(d,p)=>{r.set(d,p),o++,o>i&&(o=0,c=r,r=new Map)};return{get(d){let p=r.get(d);if(p!==void 0)return p;if((p=c.get(d))!==void 0)return f(d,p),p},set(d,p){r.has(d)?r.set(d,p):f(d,p)}}},eu="!",au=":",bx=au.length,xx=i=>{const{prefix:o,experimentalParseClassName:r}=i;let c=f=>{const d=[];let p=0,S=0,v=0,m;for(let C=0;Cv?m-v:void 0;return{modifiers:d,hasImportantModifier:N,baseClassName:g,maybePostfixModifierPosition:M}};if(o){const f=o+au,d=c;c=p=>p.startsWith(f)?d(p.substring(f.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:p,maybePostfixModifierPosition:void 0}}if(r){const f=c;c=d=>r({className:d,parseClassName:f})}return c},Sx=i=>i.endsWith(eu)?i.substring(0,i.length-1):i.startsWith(eu)?i.substring(1):i,Ex=i=>{const o=Object.fromEntries(i.orderSensitiveModifiers.map(c=>[c,!0]));return c=>{if(c.length<=1)return c;const f=[];let d=[];return c.forEach(p=>{p[0]==="["||o[p]?(f.push(...d.sort(),p),d=[]):d.push(p)}),f.push(...d.sort()),f}},wx=i=>({cache:vx(i.cacheSize),parseClassName:xx(i),sortModifiers:Ex(i),...hx(i)}),Ax=/\s+/,Tx=(i,o)=>{const{parseClassName:r,getClassGroupId:c,getConflictingClassGroupIds:f,sortModifiers:d}=o,p=[],S=i.trim().split(Ax);let v="";for(let m=S.length-1;m>=0;m-=1){const b=S[m],{isExternal:g,modifiers:N,hasImportantModifier:M,baseClassName:C,maybePostfixModifierPosition:q}=r(b);if(g){v=b+(v.length>0?" "+v:v);continue}let X=!!q,G=c(X?C.substring(0,q):C);if(!G){if(!X){v=b+(v.length>0?" "+v:v);continue}if(G=c(C),!G){v=b+(v.length>0?" "+v:v);continue}X=!1}const P=d(N).join(":"),J=M?P+eu:P,W=J+G;if(p.includes(W))continue;p.push(W);const I=f(G,X);for(let lt=0;lt0?" "+v:v)}return v};function Nx(){let i=0,o,r,c="";for(;i{if(typeof i=="string")return i;let o,r="";for(let c=0;cg(b),i());return r=wx(m),c=r.cache.get,f=r.cache.set,d=S,S(v)}function S(v){const m=c(v);if(m)return m;const b=Tx(v,r);return f(v,b),b}return function(){return d(Nx.apply(null,arguments))}}const Pt=i=>{const o=r=>r[i]||[];return o.isThemeGetter=!0,o},Yg=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Gg=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Ox=/^\d+\/\d+$/,_x=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Mx=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Hx=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,Cx=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,jx=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Ml=i=>Ox.test(i),bt=i=>!!i&&!Number.isNaN(Number(i)),dn=i=>!!i&&Number.isInteger(Number(i)),Xr=i=>i.endsWith("%")&&bt(i.slice(0,-1)),Ra=i=>_x.test(i),Rx=()=>!0,Dx=i=>Mx.test(i)&&!Hx.test(i),Xg=()=>!1,Ux=i=>Cx.test(i),Bx=i=>jx.test(i),Lx=i=>!tt(i)&&!et(i),kx=i=>Ul(i,Zg,Xg),tt=i=>Yg.test(i),Ln=i=>Ul(i,Kg,Dx),Vr=i=>Ul(i,Vx,bt),Lh=i=>Ul(i,Vg,Xg),qx=i=>Ul(i,Qg,Bx),io=i=>Ul(i,Jg,Ux),et=i=>Gg.test(i),Di=i=>Bl(i,Kg),Yx=i=>Bl(i,Qx),kh=i=>Bl(i,Vg),Gx=i=>Bl(i,Zg),Xx=i=>Bl(i,Qg),so=i=>Bl(i,Jg,!0),Ul=(i,o,r)=>{const c=Yg.exec(i);return c?c[1]?o(c[1]):r(c[2]):!1},Bl=(i,o,r=!1)=>{const c=Gg.exec(i);return c?c[1]?o(c[1]):r:!1},Vg=i=>i==="position"||i==="percentage",Qg=i=>i==="image"||i==="url",Zg=i=>i==="length"||i==="size"||i==="bg-size",Kg=i=>i==="length",Vx=i=>i==="number",Qx=i=>i==="family-name",Jg=i=>i==="shadow",Zx=()=>{const i=Pt("color"),o=Pt("font"),r=Pt("text"),c=Pt("font-weight"),f=Pt("tracking"),d=Pt("leading"),p=Pt("breakpoint"),S=Pt("container"),v=Pt("spacing"),m=Pt("radius"),b=Pt("shadow"),g=Pt("inset-shadow"),N=Pt("text-shadow"),M=Pt("drop-shadow"),C=Pt("blur"),q=Pt("perspective"),X=Pt("aspect"),G=Pt("ease"),P=Pt("animate"),J=()=>["auto","avoid","all","avoid-page","page","left","right","column"],W=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],I=()=>[...W(),et,tt],lt=()=>["auto","hidden","clip","visible","scroll"],Q=()=>["auto","contain","none"],Z=()=>[et,tt,v],mt=()=>[Ml,"full","auto",...Z()],St=()=>[dn,"none","subgrid",et,tt],Ot=()=>["auto",{span:["full",dn,et,tt]},dn,et,tt],gt=()=>[dn,"auto",et,tt],pt=()=>["auto","min","max","fr",et,tt],vt=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],xt=()=>["start","end","center","stretch","center-safe","end-safe"],A=()=>["auto",...Z()],L=()=>[Ml,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...Z()],j=()=>[i,et,tt],it=()=>[...W(),kh,Lh,{position:[et,tt]}],ct=()=>["no-repeat",{repeat:["","x","y","space","round"]}],E=()=>["auto","cover","contain",Gx,kx,{size:[et,tt]}],B=()=>[Xr,Di,Ln],U=()=>["","none","full",m,et,tt],V=()=>["",bt,Di,Ln],$=()=>["solid","dashed","dotted","double"],st=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],at=()=>[bt,Xr,kh,Lh],ut=()=>["","none",C,et,tt],Nt=()=>["none",bt,et,tt],ne=()=>["none",bt,et,tt],me=()=>[bt,et,tt],le=()=>[Ml,"full",...Z()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Ra],breakpoint:[Ra],color:[Rx],container:[Ra],"drop-shadow":[Ra],ease:["in","out","in-out"],font:[Lx],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Ra],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Ra],shadow:[Ra],spacing:["px",bt],text:[Ra],"text-shadow":[Ra],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",Ml,tt,et,X]}],container:["container"],columns:[{columns:[bt,tt,et,S]}],"break-after":[{"break-after":J()}],"break-before":[{"break-before":J()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:I()}],overflow:[{overflow:lt()}],"overflow-x":[{"overflow-x":lt()}],"overflow-y":[{"overflow-y":lt()}],overscroll:[{overscroll:Q()}],"overscroll-x":[{"overscroll-x":Q()}],"overscroll-y":[{"overscroll-y":Q()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:mt()}],"inset-x":[{"inset-x":mt()}],"inset-y":[{"inset-y":mt()}],start:[{start:mt()}],end:[{end:mt()}],top:[{top:mt()}],right:[{right:mt()}],bottom:[{bottom:mt()}],left:[{left:mt()}],visibility:["visible","invisible","collapse"],z:[{z:[dn,"auto",et,tt]}],basis:[{basis:[Ml,"full","auto",S,...Z()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[bt,Ml,"auto","initial","none",tt]}],grow:[{grow:["",bt,et,tt]}],shrink:[{shrink:["",bt,et,tt]}],order:[{order:[dn,"first","last","none",et,tt]}],"grid-cols":[{"grid-cols":St()}],"col-start-end":[{col:Ot()}],"col-start":[{"col-start":gt()}],"col-end":[{"col-end":gt()}],"grid-rows":[{"grid-rows":St()}],"row-start-end":[{row:Ot()}],"row-start":[{"row-start":gt()}],"row-end":[{"row-end":gt()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":pt()}],"auto-rows":[{"auto-rows":pt()}],gap:[{gap:Z()}],"gap-x":[{"gap-x":Z()}],"gap-y":[{"gap-y":Z()}],"justify-content":[{justify:[...vt(),"normal"]}],"justify-items":[{"justify-items":[...xt(),"normal"]}],"justify-self":[{"justify-self":["auto",...xt()]}],"align-content":[{content:["normal",...vt()]}],"align-items":[{items:[...xt(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...xt(),{baseline:["","last"]}]}],"place-content":[{"place-content":vt()}],"place-items":[{"place-items":[...xt(),"baseline"]}],"place-self":[{"place-self":["auto",...xt()]}],p:[{p:Z()}],px:[{px:Z()}],py:[{py:Z()}],ps:[{ps:Z()}],pe:[{pe:Z()}],pt:[{pt:Z()}],pr:[{pr:Z()}],pb:[{pb:Z()}],pl:[{pl:Z()}],m:[{m:A()}],mx:[{mx:A()}],my:[{my:A()}],ms:[{ms:A()}],me:[{me:A()}],mt:[{mt:A()}],mr:[{mr:A()}],mb:[{mb:A()}],ml:[{ml:A()}],"space-x":[{"space-x":Z()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":Z()}],"space-y-reverse":["space-y-reverse"],size:[{size:L()}],w:[{w:[S,"screen",...L()]}],"min-w":[{"min-w":[S,"screen","none",...L()]}],"max-w":[{"max-w":[S,"screen","none","prose",{screen:[p]},...L()]}],h:[{h:["screen","lh",...L()]}],"min-h":[{"min-h":["screen","lh","none",...L()]}],"max-h":[{"max-h":["screen","lh",...L()]}],"font-size":[{text:["base",r,Di,Ln]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[c,et,Vr]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Xr,tt]}],"font-family":[{font:[Yx,tt,o]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[f,et,tt]}],"line-clamp":[{"line-clamp":[bt,"none",et,Vr]}],leading:[{leading:[d,...Z()]}],"list-image":[{"list-image":["none",et,tt]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",et,tt]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:j()}],"text-color":[{text:j()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...$(),"wavy"]}],"text-decoration-thickness":[{decoration:[bt,"from-font","auto",et,Ln]}],"text-decoration-color":[{decoration:j()}],"underline-offset":[{"underline-offset":[bt,"auto",et,tt]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:Z()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",et,tt]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",et,tt]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:it()}],"bg-repeat":[{bg:ct()}],"bg-size":[{bg:E()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},dn,et,tt],radial:["",et,tt],conic:[dn,et,tt]},Xx,qx]}],"bg-color":[{bg:j()}],"gradient-from-pos":[{from:B()}],"gradient-via-pos":[{via:B()}],"gradient-to-pos":[{to:B()}],"gradient-from":[{from:j()}],"gradient-via":[{via:j()}],"gradient-to":[{to:j()}],rounded:[{rounded:U()}],"rounded-s":[{"rounded-s":U()}],"rounded-e":[{"rounded-e":U()}],"rounded-t":[{"rounded-t":U()}],"rounded-r":[{"rounded-r":U()}],"rounded-b":[{"rounded-b":U()}],"rounded-l":[{"rounded-l":U()}],"rounded-ss":[{"rounded-ss":U()}],"rounded-se":[{"rounded-se":U()}],"rounded-ee":[{"rounded-ee":U()}],"rounded-es":[{"rounded-es":U()}],"rounded-tl":[{"rounded-tl":U()}],"rounded-tr":[{"rounded-tr":U()}],"rounded-br":[{"rounded-br":U()}],"rounded-bl":[{"rounded-bl":U()}],"border-w":[{border:V()}],"border-w-x":[{"border-x":V()}],"border-w-y":[{"border-y":V()}],"border-w-s":[{"border-s":V()}],"border-w-e":[{"border-e":V()}],"border-w-t":[{"border-t":V()}],"border-w-r":[{"border-r":V()}],"border-w-b":[{"border-b":V()}],"border-w-l":[{"border-l":V()}],"divide-x":[{"divide-x":V()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":V()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...$(),"hidden","none"]}],"divide-style":[{divide:[...$(),"hidden","none"]}],"border-color":[{border:j()}],"border-color-x":[{"border-x":j()}],"border-color-y":[{"border-y":j()}],"border-color-s":[{"border-s":j()}],"border-color-e":[{"border-e":j()}],"border-color-t":[{"border-t":j()}],"border-color-r":[{"border-r":j()}],"border-color-b":[{"border-b":j()}],"border-color-l":[{"border-l":j()}],"divide-color":[{divide:j()}],"outline-style":[{outline:[...$(),"none","hidden"]}],"outline-offset":[{"outline-offset":[bt,et,tt]}],"outline-w":[{outline:["",bt,Di,Ln]}],"outline-color":[{outline:j()}],shadow:[{shadow:["","none",b,so,io]}],"shadow-color":[{shadow:j()}],"inset-shadow":[{"inset-shadow":["none",g,so,io]}],"inset-shadow-color":[{"inset-shadow":j()}],"ring-w":[{ring:V()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:j()}],"ring-offset-w":[{"ring-offset":[bt,Ln]}],"ring-offset-color":[{"ring-offset":j()}],"inset-ring-w":[{"inset-ring":V()}],"inset-ring-color":[{"inset-ring":j()}],"text-shadow":[{"text-shadow":["none",N,so,io]}],"text-shadow-color":[{"text-shadow":j()}],opacity:[{opacity:[bt,et,tt]}],"mix-blend":[{"mix-blend":[...st(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":st()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[bt]}],"mask-image-linear-from-pos":[{"mask-linear-from":at()}],"mask-image-linear-to-pos":[{"mask-linear-to":at()}],"mask-image-linear-from-color":[{"mask-linear-from":j()}],"mask-image-linear-to-color":[{"mask-linear-to":j()}],"mask-image-t-from-pos":[{"mask-t-from":at()}],"mask-image-t-to-pos":[{"mask-t-to":at()}],"mask-image-t-from-color":[{"mask-t-from":j()}],"mask-image-t-to-color":[{"mask-t-to":j()}],"mask-image-r-from-pos":[{"mask-r-from":at()}],"mask-image-r-to-pos":[{"mask-r-to":at()}],"mask-image-r-from-color":[{"mask-r-from":j()}],"mask-image-r-to-color":[{"mask-r-to":j()}],"mask-image-b-from-pos":[{"mask-b-from":at()}],"mask-image-b-to-pos":[{"mask-b-to":at()}],"mask-image-b-from-color":[{"mask-b-from":j()}],"mask-image-b-to-color":[{"mask-b-to":j()}],"mask-image-l-from-pos":[{"mask-l-from":at()}],"mask-image-l-to-pos":[{"mask-l-to":at()}],"mask-image-l-from-color":[{"mask-l-from":j()}],"mask-image-l-to-color":[{"mask-l-to":j()}],"mask-image-x-from-pos":[{"mask-x-from":at()}],"mask-image-x-to-pos":[{"mask-x-to":at()}],"mask-image-x-from-color":[{"mask-x-from":j()}],"mask-image-x-to-color":[{"mask-x-to":j()}],"mask-image-y-from-pos":[{"mask-y-from":at()}],"mask-image-y-to-pos":[{"mask-y-to":at()}],"mask-image-y-from-color":[{"mask-y-from":j()}],"mask-image-y-to-color":[{"mask-y-to":j()}],"mask-image-radial":[{"mask-radial":[et,tt]}],"mask-image-radial-from-pos":[{"mask-radial-from":at()}],"mask-image-radial-to-pos":[{"mask-radial-to":at()}],"mask-image-radial-from-color":[{"mask-radial-from":j()}],"mask-image-radial-to-color":[{"mask-radial-to":j()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":W()}],"mask-image-conic-pos":[{"mask-conic":[bt]}],"mask-image-conic-from-pos":[{"mask-conic-from":at()}],"mask-image-conic-to-pos":[{"mask-conic-to":at()}],"mask-image-conic-from-color":[{"mask-conic-from":j()}],"mask-image-conic-to-color":[{"mask-conic-to":j()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:it()}],"mask-repeat":[{mask:ct()}],"mask-size":[{mask:E()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",et,tt]}],filter:[{filter:["","none",et,tt]}],blur:[{blur:ut()}],brightness:[{brightness:[bt,et,tt]}],contrast:[{contrast:[bt,et,tt]}],"drop-shadow":[{"drop-shadow":["","none",M,so,io]}],"drop-shadow-color":[{"drop-shadow":j()}],grayscale:[{grayscale:["",bt,et,tt]}],"hue-rotate":[{"hue-rotate":[bt,et,tt]}],invert:[{invert:["",bt,et,tt]}],saturate:[{saturate:[bt,et,tt]}],sepia:[{sepia:["",bt,et,tt]}],"backdrop-filter":[{"backdrop-filter":["","none",et,tt]}],"backdrop-blur":[{"backdrop-blur":ut()}],"backdrop-brightness":[{"backdrop-brightness":[bt,et,tt]}],"backdrop-contrast":[{"backdrop-contrast":[bt,et,tt]}],"backdrop-grayscale":[{"backdrop-grayscale":["",bt,et,tt]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[bt,et,tt]}],"backdrop-invert":[{"backdrop-invert":["",bt,et,tt]}],"backdrop-opacity":[{"backdrop-opacity":[bt,et,tt]}],"backdrop-saturate":[{"backdrop-saturate":[bt,et,tt]}],"backdrop-sepia":[{"backdrop-sepia":["",bt,et,tt]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":Z()}],"border-spacing-x":[{"border-spacing-x":Z()}],"border-spacing-y":[{"border-spacing-y":Z()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",et,tt]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[bt,"initial",et,tt]}],ease:[{ease:["linear","initial",G,et,tt]}],delay:[{delay:[bt,et,tt]}],animate:[{animate:["none",P,et,tt]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[q,et,tt]}],"perspective-origin":[{"perspective-origin":I()}],rotate:[{rotate:Nt()}],"rotate-x":[{"rotate-x":Nt()}],"rotate-y":[{"rotate-y":Nt()}],"rotate-z":[{"rotate-z":Nt()}],scale:[{scale:ne()}],"scale-x":[{"scale-x":ne()}],"scale-y":[{"scale-y":ne()}],"scale-z":[{"scale-z":ne()}],"scale-3d":["scale-3d"],skew:[{skew:me()}],"skew-x":[{"skew-x":me()}],"skew-y":[{"skew-y":me()}],transform:[{transform:[et,tt,"","none","gpu","cpu"]}],"transform-origin":[{origin:I()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:le()}],"translate-x":[{"translate-x":le()}],"translate-y":[{"translate-y":le()}],"translate-z":[{"translate-z":le()}],"translate-none":["translate-none"],accent:[{accent:j()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:j()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",et,tt]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":Z()}],"scroll-mx":[{"scroll-mx":Z()}],"scroll-my":[{"scroll-my":Z()}],"scroll-ms":[{"scroll-ms":Z()}],"scroll-me":[{"scroll-me":Z()}],"scroll-mt":[{"scroll-mt":Z()}],"scroll-mr":[{"scroll-mr":Z()}],"scroll-mb":[{"scroll-mb":Z()}],"scroll-ml":[{"scroll-ml":Z()}],"scroll-p":[{"scroll-p":Z()}],"scroll-px":[{"scroll-px":Z()}],"scroll-py":[{"scroll-py":Z()}],"scroll-ps":[{"scroll-ps":Z()}],"scroll-pe":[{"scroll-pe":Z()}],"scroll-pt":[{"scroll-pt":Z()}],"scroll-pr":[{"scroll-pr":Z()}],"scroll-pb":[{"scroll-pb":Z()}],"scroll-pl":[{"scroll-pl":Z()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",et,tt]}],fill:[{fill:["none",...j()]}],"stroke-w":[{stroke:[bt,Di,Ln,Vr]}],stroke:[{stroke:["none",...j()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},Kx=zx(Zx);function So(...i){return Kx(Lg(i))}function Jx({delayDuration:i=0,...o}){return y.jsx(mx,{"data-loc":"client/src/components/ui/tooltip.tsx:11","data-slot":"tooltip-provider",delayDuration:i,...o})}const qh=i=>typeof i=="boolean"?`${i}`:i===0?"0":i,Yh=Lg,$x=(i,o)=>r=>{var c;if(o?.variants==null)return Yh(i,r?.class,r?.className);const{variants:f,defaultVariants:d}=o,p=Object.keys(f).map(m=>{const b=r?.[m],g=d?.[m];if(b===null)return null;const N=qh(b)||qh(g);return f[m][N]}),S=r&&Object.entries(r).reduce((m,b)=>{let[g,N]=b;return N===void 0||(m[g]=N),m},{}),v=o==null||(c=o.compoundVariants)===null||c===void 0?void 0:c.reduce((m,b)=>{let{class:g,className:N,...M}=b;return Object.entries(M).every(C=>{let[q,X]=C;return Array.isArray(X)?X.includes({...d,...S}[q]):{...d,...S}[q]===X})?[...m,g,N]:m},[]);return Yh(i,p,v,r?.class,r?.className)},Wx=$x("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-white hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-transparent shadow-xs hover:bg-accent dark:bg-transparent dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9","icon-sm":"size-8","icon-lg":"size-10"}},defaultVariants:{variant:"default",size:"default"}});function Fx({className:i,variant:o,size:r,asChild:c=!1,...f}){const d=c?ov:"button";return y.jsx(d,{"data-loc":"client/src/components/ui/button.tsx:52","data-slot":"button",className:So(Wx({variant:o,size:r,className:i})),...f})}function Px({className:i,...o}){return y.jsx("div",{"data-loc":"client/src/components/ui/card.tsx:7","data-slot":"card",className:So("bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm",i),...o})}function Ix({className:i,...o}){return y.jsx("div",{"data-loc":"client/src/components/ui/card.tsx:66","data-slot":"card-content",className:So("px-6",i),...o})}/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const t1=i=>i.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),$g=(...i)=>i.filter((o,r,c)=>!!o&&c.indexOf(o)===r).join(" ");/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */var e1={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const a1=H.forwardRef(({color:i="currentColor",size:o=24,strokeWidth:r=2,absoluteStrokeWidth:c,className:f="",children:d,iconNode:p,...S},v)=>H.createElement("svg",{ref:v,...e1,width:o,height:o,stroke:i,strokeWidth:c?Number(r)*24/Number(o):r,className:$g("lucide",f),...S},[...p.map(([m,b])=>H.createElement(m,b)),...Array.isArray(d)?d:[d]]));/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const It=(i,o)=>{const r=H.forwardRef(({className:c,...f},d)=>H.createElement(a1,{ref:d,iconNode:o,className:$g(`lucide-${t1(i)}`,c),...f}));return r.displayName=`${i}`,r};/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const n1=It("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const l1=It("Bath",[["path",{d:"M9 6 6.5 3.5a1.5 1.5 0 0 0-1-.5C4.683 3 4 3.683 4 4.5V17a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-5",key:"1r8yf5"}],["line",{x1:"10",x2:"8",y1:"5",y2:"7",key:"h5g8z4"}],["line",{x1:"2",x2:"22",y1:"12",y2:"12",key:"1dnqot"}],["line",{x1:"7",x2:"7",y1:"19",y2:"21",key:"16jp00"}],["line",{x1:"17",x2:"17",y1:"19",y2:"21",key:"1pxrnk"}]]);/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const i1=It("Bed",[["path",{d:"M2 4v16",key:"vw9hq8"}],["path",{d:"M2 8h18a2 2 0 0 1 2 2v10",key:"1dgv2r"}],["path",{d:"M2 17h20",key:"18nfp3"}],["path",{d:"M6 8v9",key:"1yriud"}]]);/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const s1=It("Building",[["rect",{width:"16",height:"20",x:"4",y:"2",rx:"2",ry:"2",key:"76otgf"}],["path",{d:"M9 22v-4h6v4",key:"r93iot"}],["path",{d:"M8 6h.01",key:"1dz90k"}],["path",{d:"M16 6h.01",key:"1x0f13"}],["path",{d:"M12 6h.01",key:"1vi96p"}],["path",{d:"M12 10h.01",key:"1nrarc"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M16 10h.01",key:"1m94wz"}],["path",{d:"M16 14h.01",key:"1gbofw"}],["path",{d:"M8 10h.01",key:"19clt8"}],["path",{d:"M8 14h.01",key:"6423bh"}]]);/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const o1=It("ChevronLeft",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const c1=It("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const r1=It("CircleAlert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]);/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Wg=It("House",[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"1d0kgt"}]]);/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const u1=It("Mail",[["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}]]);/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Gh=It("MapPin",[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]]);/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const f1=It("Maximize2",[["polyline",{points:"15 3 21 3 21 9",key:"mznyad"}],["polyline",{points:"9 21 3 21 3 15",key:"1avn1i"}],["line",{x1:"21",x2:"14",y1:"3",y2:"10",key:"ota7mn"}],["line",{x1:"3",x2:"10",y1:"21",y2:"14",key:"1atl0r"}]]);/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const d1=It("Menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]]);/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Ui=It("MessageCircle",[["path",{d:"M7.9 20A9 9 0 1 0 4 16.1L2 22Z",key:"vv11sd"}]]);/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const nu=It("Phone",[["path",{d:"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z",key:"foiqr5"}]]);/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const m1=It("RotateCcw",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]]);/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const h1=It("TriangleAlert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const g1=It("Users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["path",{d:"M16 3.13a4 4 0 0 1 0 7.75",key:"1da9ce"}]]);/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const p1=It("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);/** * @license lucide-react v0.453.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Xh=It("Zap",[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]]);function y1(i,o){if(i instanceof RegExp)return{keys:!1,pattern:i};var r,c,f,d,p=[],S="",v=i.split("/");for(v[0]||v.shift();f=v.shift();)r=f[0],r==="*"?(p.push(r),S+=f[1]==="?"?"(?:/(.*))?":"/(.*)"):r===":"?(c=f.indexOf("?",1),d=f.indexOf(".",1),p.push(f.substring(1,~c?c:~d?d:f.length)),S+=~c&&!~d?"(?:/([^/]+?))?":"/([^/]+?)",~d&&(S+=(~c?"?":"")+"\\"+f.substring(d))):S+="/"+f;return{keys:p,pattern:new RegExp("^"+S+(o?"(?=$|/)":"/?$"),"i")}}var Qr={exports:{}},Zr={};/** * @license React * use-sync-external-store-shim.production.js * * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var Vh;function v1(){if(Vh)return Zr;Vh=1;var i=mo();function o(g,N){return g===N&&(g!==0||1/g===1/N)||g!==g&&N!==N}var r=typeof Object.is=="function"?Object.is:o,c=i.useState,f=i.useEffect,d=i.useLayoutEffect,p=i.useDebugValue;function S(g,N){var M=N(),C=c({inst:{value:M,getSnapshot:N}}),q=C[0].inst,X=C[1];return d(function(){q.value=M,q.getSnapshot=N,v(q)&&X({inst:q})},[g,M,N]),f(function(){return v(q)&&X({inst:q}),g(function(){v(q)&&X({inst:q})})},[g]),p(M),M}function v(g){var N=g.getSnapshot;g=g.value;try{var M=N();return!r(g,M)}catch{return!0}}function m(g,N){return N()}var b=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?m:S;return Zr.useSyncExternalStore=i.useSyncExternalStore!==void 0?i.useSyncExternalStore:b,Zr}var Qh;function b1(){return Qh||(Qh=1,Qr.exports=v1()),Qr.exports}var x1=b1();const S1=Ny.useInsertionEffect,E1=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",w1=E1?H.useLayoutEffect:H.useEffect,A1=S1||w1,Fg=i=>{const o=H.useRef([i,(...r)=>o[0](...r)]).current;return A1(()=>{o[0]=i}),o[1]},T1="popstate",gu="pushState",pu="replaceState",N1="hashchange",Zh=[T1,gu,pu,N1],z1=i=>{for(const o of Zh)addEventListener(o,i);return()=>{for(const o of Zh)removeEventListener(o,i)}},Pg=(i,o)=>x1.useSyncExternalStore(z1,i,o),O1=()=>location.search,_1=({ssrSearch:i=""}={})=>Pg(O1,()=>i),Kh=()=>location.pathname,M1=({ssrPath:i}={})=>Pg(Kh,i?()=>i:Kh),H1=(i,{replace:o=!1,state:r=null}={})=>history[o?pu:gu](r,"",i),C1=(i={})=>[M1(i),H1],Jh=Symbol.for("wouter_v3");if(typeof history<"u"&&typeof window[Jh]>"u"){for(const i of[gu,pu]){const o=history[i];history[i]=function(){const r=o.apply(this,arguments),c=new Event(i);return c.arguments=arguments,dispatchEvent(c),r}}Object.defineProperty(window,Jh,{value:!0})}const j1=(i,o)=>o.toLowerCase().indexOf(i.toLowerCase())?"~"+o:o.slice(i.length)||"/",Ig=(i="")=>i==="/"?"":i,R1=(i,o)=>i[0]==="~"?i.slice(1):Ig(o)+i,D1=(i="",o)=>j1($h(Ig(i)),$h(o)),$h=i=>{try{return decodeURI(i)}catch{return i}},tp={hook:C1,searchHook:_1,parser:y1,base:"",ssrPath:void 0,ssrSearch:void 0,ssrContext:void 0,hrefs:i=>i},ep=H.createContext(tp),Yi=()=>H.useContext(ep),ap={},np=H.createContext(ap),U1=()=>H.useContext(np),Eo=i=>{const[o,r]=i.hook(i);return[D1(i.base,o),Fg((c,f)=>r(R1(c,i.base),f))]},B1=()=>Eo(Yi()),lp=(i,o,r,c)=>{const{pattern:f,keys:d}=o instanceof RegExp?{keys:!1,pattern:o}:i(o||"*",c),p=f.exec(r)||[],[S,...v]=p;return S!==void 0?[!0,(()=>{const m=d!==!1?Object.fromEntries(d.map((g,N)=>[g,v[N]])):p.groups;let b={...v};return m&&Object.assign(b,m),b})(),...c?[S]:[]]:[!1,null]},L1=({children:i,...o})=>{const r=Yi(),c=o.hook?tp:r;let f=c;const[d,p]=o.ssrPath?.split("?")??[];p&&(o.ssrSearch=p,o.ssrPath=d),o.hrefs=o.hrefs??o.hook?.hrefs;let S=H.useRef({}),v=S.current,m=v;for(let b in c){const g=b==="base"?c[b]+(o[b]||""):o[b]||c[b];v===m&&g!==m[b]&&(S.current=m={...m}),m[b]=g,(g!==c[b]||g!==f[b])&&(f=m)}return H.createElement(ep.Provider,{value:f,children:i})},Wh=({children:i,component:o},r)=>o?H.createElement(o,{params:r}):typeof i=="function"?i(r):i,k1=i=>{let o=H.useRef(ap);const r=o.current;return o.current=Object.keys(i).length!==Object.keys(r).length||Object.entries(i).some(([c,f])=>f!==r[c])?i:r},Kr=({path:i,nest:o,match:r,...c})=>{const f=Yi(),[d]=Eo(f),[p,S,v]=r??lp(f.parser,i,d,o),m=k1({...U1(),...S});if(!p)return null;const b=v?H.createElement(L1,{base:v},Wh(c,m)):Wh(c,m);return H.createElement(np.Provider,{value:m,children:b})};H.forwardRef((i,o)=>{const r=Yi(),[c,f]=Eo(r),{to:d="",href:p=d,onClick:S,asChild:v,children:m,className:b,replace:g,state:N,...M}=i,C=Fg(X=>{X.ctrlKey||X.metaKey||X.altKey||X.shiftKey||X.button!==0||(S?.(X),X.defaultPrevented||(X.preventDefault(),f(p,i)))}),q=r.hrefs(p[0]==="~"?p.slice(1):r.base+p,r);return v&&H.isValidElement(m)?H.cloneElement(m,{onClick:C,href:q}):H.createElement("a",{...M,onClick:C,href:q,className:b?.call?b(c===p):b,children:m,ref:o})});const lu=i=>Array.isArray(i)?i.flatMap(o=>lu(o&&o.type===H.Fragment?o.props.children:o)):[i],q1=({children:i,location:o})=>{const r=Yi(),[c]=Eo(r);typeof window<"u"&&(window.__WOUTER_ROUTES__||(window.__WOUTER_ROUTES__=[]),lu(i).forEach(d=>{if(H.isValidElement(d)&&d.props.path){const p=d.props.path;window.__WOUTER_ROUTES__.includes(p)||window.__WOUTER_ROUTES__.push(p)}}));for(const f of lu(i)){let d=0;if(H.isValidElement(f)&&(d=lp(r.parser,f.props.path,o||c,f.props.nest))[0])return H.cloneElement(f,{match:d})}return null};function Fh(){const[,i]=B1(),o=()=>{i("/")};return y.jsx("div",{"data-loc":"client/src/pages/NotFound.tsx:14",className:"min-h-screen w-full flex items-center justify-center bg-gradient-to-br from-slate-50 to-slate-100",children:y.jsx(Px,{"data-loc":"client/src/pages/NotFound.tsx:15",className:"w-full max-w-lg mx-4 shadow-lg border-0 bg-white/80 backdrop-blur-sm",children:y.jsxs(Ix,{"data-loc":"client/src/pages/NotFound.tsx:16",className:"pt-8 pb-8 text-center",children:[y.jsx("div",{"data-loc":"client/src/pages/NotFound.tsx:17",className:"flex justify-center mb-6",children:y.jsxs("div",{"data-loc":"client/src/pages/NotFound.tsx:18",className:"relative",children:[y.jsx("div",{"data-loc":"client/src/pages/NotFound.tsx:19",className:"absolute inset-0 bg-red-100 rounded-full animate-pulse"}),y.jsx(r1,{"data-loc":"client/src/pages/NotFound.tsx:20",className:"relative h-16 w-16 text-red-500"})]})}),y.jsx("h1",{"data-loc":"client/src/pages/NotFound.tsx:24",className:"text-4xl font-bold text-slate-900 mb-2",children:"404"}),y.jsx("h2",{"data-loc":"client/src/pages/NotFound.tsx:26",className:"text-xl font-semibold text-slate-700 mb-4",children:"Page Not Found"}),y.jsxs("p",{"data-loc":"client/src/pages/NotFound.tsx:30",className:"text-slate-600 mb-8 leading-relaxed",children:["Sorry, the page you are looking for doesn't exist.",y.jsx("br",{"data-loc":"client/src/pages/NotFound.tsx:32"}),"It may have been moved or deleted."]}),y.jsx("div",{"data-loc":"client/src/pages/NotFound.tsx:36",className:"flex flex-col sm:flex-row gap-3 justify-center",children:y.jsxs(Fx,{"data-loc":"client/src/pages/NotFound.tsx:37",onClick:o,className:"bg-blue-600 hover:bg-blue-700 text-white px-6 py-2.5 rounded-lg transition-all duration-200 shadow-md hover:shadow-lg",children:[y.jsx(Wg,{"data-loc":"client/src/pages/NotFound.tsx:41",className:"w-4 h-4 mr-2"}),"Go Home"]})})]})})})}class Y1 extends H.Component{constructor(o){super(o),this.state={hasError:!1,error:null}}static getDerivedStateFromError(o){return{hasError:!0,error:o}}render(){return this.state.hasError?y.jsx("div",{"data-loc":"client/src/components/ErrorBoundary.tsx:27",className:"flex items-center justify-center min-h-screen p-8 bg-background",children:y.jsxs("div",{"data-loc":"client/src/components/ErrorBoundary.tsx:28",className:"flex flex-col items-center w-full max-w-2xl p-8",children:[y.jsx(h1,{"data-loc":"client/src/components/ErrorBoundary.tsx:29",size:48,className:"text-destructive mb-6 flex-shrink-0"}),y.jsx("h2",{"data-loc":"client/src/components/ErrorBoundary.tsx:34",className:"text-xl mb-4",children:"An unexpected error occurred."}),y.jsx("div",{"data-loc":"client/src/components/ErrorBoundary.tsx:36",className:"p-4 w-full rounded bg-muted overflow-auto mb-6",children:y.jsx("pre",{"data-loc":"client/src/components/ErrorBoundary.tsx:37",className:"text-sm text-muted-foreground whitespace-break-spaces",children:this.state.error?.stack})}),y.jsxs("button",{"data-loc":"client/src/components/ErrorBoundary.tsx:42",onClick:()=>window.location.reload(),className:So("flex items-center gap-2 px-4 py-2 rounded-lg","bg-primary text-primary-foreground","hover:opacity-90 cursor-pointer"),children:[y.jsx(m1,{"data-loc":"client/src/components/ErrorBoundary.tsx:50",size:16}),"Reload Page"]})]})}):this.props.children}}const G1=H.createContext(void 0);function X1({children:i,defaultTheme:o="light",switchable:r=!1}){const[c,f]=H.useState(()=>r&&localStorage.getItem("theme")||o);H.useEffect(()=>{const p=document.documentElement;c==="dark"?p.classList.add("dark"):p.classList.remove("dark"),r&&localStorage.setItem("theme",c)},[c,r]);const d=r?()=>{f(p=>p==="light"?"dark":"light")}:void 0;return y.jsx(G1.Provider,{"data-loc":"client/src/contexts/ThemeContext.tsx:52",value:{theme:c,toggleTheme:d,switchable:r},children:i})}function V1(){const[i,o]=H.useState(!1);return y.jsxs("header",{"data-loc":"client/src/components/Header.tsx:16",className:"fixed top-0 left-0 right-0 bg-foreground z-50 border-b border-border",children:[y.jsxs("div",{"data-loc":"client/src/components/Header.tsx:17",className:"container flex items-center justify-between h-20",children:[y.jsx("div",{"data-loc":"client/src/components/Header.tsx:19",className:"flex items-center gap-3",children:y.jsx("img",{"data-loc":"client/src/components/Header.tsx:20",src:"https://stylebrokers.com.br/public/site/assets/images/logo.png",alt:"Style Brokers",className:"h-12 w-auto"})}),y.jsxs("nav",{"data-loc":"client/src/components/Header.tsx:28",className:"hidden md:flex items-center gap-6",children:[y.jsxs("a",{"data-loc":"client/src/components/Header.tsx:30",href:"tel:+5565996148060",className:"flex items-center gap-2 text-background hover:text-accent transition-smooth text-sm font-medium",children:[y.jsx(nu,{"data-loc":"client/src/components/Header.tsx:34",size:18}),"(65) 3023-8060"]}),y.jsxs("a",{"data-loc":"client/src/components/Header.tsx:39",href:"https://api.whatsapp.com/send?phone=5565996148060&text=Olá!%20fui%20redirecionado(a)%20do%20site.",target:"_blank",rel:"noopener noreferrer",className:"flex items-center gap-2 text-background hover:text-accent transition-smooth text-sm font-medium border border-background/30 px-4 py-2 rounded-sm hover:border-accent",children:[y.jsx(Ui,{"data-loc":"client/src/components/Header.tsx:45",size:18}),"(65) 99614-8060"]}),y.jsxs("div",{"data-loc":"client/src/components/Header.tsx:50",className:"relative group",children:[y.jsx("button",{"data-loc":"client/src/components/Header.tsx:51",className:"text-background hover:text-accent transition-smooth text-sm font-medium px-4 py-2",children:"Para você ▼"}),y.jsxs("div",{"data-loc":"client/src/components/Header.tsx:54",className:"absolute left-0 mt-0 w-48 bg-background rounded-sm shadow-lg opacity-0 invisible group-hover:opacity-100 group-hover:visible transition-all",children:[y.jsx("a",{"data-loc":"client/src/components/Header.tsx:55",href:"#",className:"block px-4 py-2 text-foreground hover:bg-secondary/50 text-sm",children:"Comprar"}),y.jsx("a",{"data-loc":"client/src/components/Header.tsx:58",href:"#",className:"block px-4 py-2 text-foreground hover:bg-secondary/50 text-sm",children:"Vender"}),y.jsx("a",{"data-loc":"client/src/components/Header.tsx:61",href:"#",className:"block px-4 py-2 text-foreground hover:bg-secondary/50 text-sm",children:"Alugar"})]})]}),y.jsx("a",{"data-loc":"client/src/components/Header.tsx:68",href:"https://stylebrokers.com.br/anuncie-seu-imovel",className:"bg-accent text-accent-foreground px-6 py-2 rounded-sm hover:opacity-90 transition-smooth text-sm font-semibold",children:"Anuncie seu Imóvel"})]}),y.jsx("button",{"data-loc":"client/src/components/Header.tsx:77",className:"md:hidden p-2 text-background",onClick:()=>o(!i),children:i?y.jsx(p1,{"data-loc":"client/src/components/Header.tsx:81",size:24}):y.jsx(d1,{"data-loc":"client/src/components/Header.tsx:81",size:24})})]}),i&&y.jsx("nav",{"data-loc":"client/src/components/Header.tsx:87",className:"md:hidden bg-foreground border-t border-border/20",children:y.jsxs("div",{"data-loc":"client/src/components/Header.tsx:88",className:"container py-4 flex flex-col gap-4",children:[y.jsxs("a",{"data-loc":"client/src/components/Header.tsx:89",href:"tel:+5565996148060",className:"flex items-center gap-2 text-background hover:text-accent transition-smooth text-sm font-medium",children:[y.jsx(nu,{"data-loc":"client/src/components/Header.tsx:93",size:18}),"(65) 3023-8060"]}),y.jsxs("a",{"data-loc":"client/src/components/Header.tsx:97",href:"https://api.whatsapp.com/send?phone=5565996148060&text=Olá!%20fui%20redirecionado(a)%20do%20site.",target:"_blank",rel:"noopener noreferrer",className:"flex items-center gap-2 text-background hover:text-accent transition-smooth text-sm font-medium border border-background/30 px-4 py-2 rounded-sm",children:[y.jsx(Ui,{"data-loc":"client/src/components/Header.tsx:103",size:18}),"(65) 99614-8060"]}),y.jsx("a",{"data-loc":"client/src/components/Header.tsx:107",href:"https://stylebrokers.com.br/anuncie-seu-imovel",className:"bg-accent text-accent-foreground px-6 py-2 rounded-sm hover:opacity-90 transition-smooth text-sm font-semibold w-full text-center",children:"Anuncie seu Imóvel"})]})})]})}function Q1(){const[i,o]=H.useState({name:"",email:"",phone:"",message:""}),[r,c]=H.useState(0),f=[{url:"https://files.manuscdn.com/user_upload_by_module/session_file/310519663338216429/SPPrxoflqUiGZYJp.png",alt:"Fotos do Instagram Style Brokers"}],d=m=>{const{name:b,value:g}=m.target;o(N=>({...N,[b]:g}))},p=m=>{m.preventDefault(),alert("Obrigado pelo interesse! Entraremos em contato em breve."),o({name:"",email:"",phone:"",message:""})},S=()=>{c(m=>(m+1)%f.length)},v=()=>{c(m=>(m-1+f.length)%f.length)};return y.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:43",className:"min-h-screen bg-background",children:[y.jsx(V1,{"data-loc":"client/src/pages/Home.tsx:44"}),y.jsx("section",{"data-loc":"client/src/pages/Home.tsx:47",className:"pt-20 pb-0 md:pt-0 md:pb-0 min-h-screen flex items-center relative overflow-hidden",children:y.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:48",className:"container grid grid-cols-1 md:grid-cols-2 gap-8 md:gap-0 items-center py-20 md:py-0",children:[y.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:50",className:"flex flex-col justify-center gap-6 md:pr-8 fade-in-up order-2 md:order-1",children:[y.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:51",className:"space-y-2",children:[y.jsx("div",{"data-loc":"client/src/pages/Home.tsx:52",className:"divider-gold"}),y.jsx("p",{"data-loc":"client/src/pages/Home.tsx:53",className:"text-accent font-semibold text-sm tracking-widest",children:"CUIABÁ, MATO GROSSO"})]}),y.jsx("h1",{"data-loc":"client/src/pages/Home.tsx:56",className:"heading-1",children:"Apartamentos próximo as principais universidades de Cuiabá"}),y.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:60",className:"flex flex-col sm:flex-row gap-4 pt-4",children:[y.jsxs("button",{"data-loc":"client/src/pages/Home.tsx:61",onClick:()=>document.getElementById("contato")?.scrollIntoView({behavior:"smooth"}),className:"bg-accent text-accent-foreground px-8 py-3 rounded-sm hover:opacity-90 transition-smooth font-semibold flex items-center justify-center gap-2",children:["Solicitar Informações ",y.jsx(n1,{"data-loc":"client/src/pages/Home.tsx:65",size:18})]}),y.jsx("button",{"data-loc":"client/src/pages/Home.tsx:67",onClick:()=>document.getElementById("localizacao")?.scrollIntoView({behavior:"smooth"}),className:"border-2 border-foreground text-foreground px-8 py-3 rounded-sm hover:bg-foreground hover:text-background transition-smooth font-semibold",children:"Conhecer Mais"})]})]}),y.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:77",className:"relative h-96 md:h-screen md:absolute md:right-0 md:top-20 md:w-1/2 order-1 md:order-2",children:[y.jsx("img",{"data-loc":"client/src/pages/Home.tsx:78",src:"https://files.manuscdn.com/user_upload_by_module/session_file/310519663338216429/IXmJYboldvtfXHUH.png",alt:"Estudante em ambiente de estudo com golden hour",className:"w-full h-full object-cover"}),y.jsx("div",{"data-loc":"client/src/pages/Home.tsx:83",className:"absolute inset-0 bg-gradient-to-l from-transparent via-transparent to-background"})]})]})}),y.jsx("section",{"data-loc":"client/src/pages/Home.tsx:89",className:"py-16 md:py-24 bg-secondary/30",children:y.jsx("div",{"data-loc":"client/src/pages/Home.tsx:90",className:"container",children:y.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:91",className:"bg-white rounded-lg p-8 md:p-12 shadow-lg",children:[y.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:93",className:"mb-8",children:[y.jsxs("h2",{"data-loc":"client/src/pages/Home.tsx:94",className:"text-3xl md:text-4xl font-bold text-foreground mb-2",children:["R$ 490.000,00 ",y.jsx("span",{"data-loc":"client/src/pages/Home.tsx:95",className:"text-accent",children:"- Venda"})]}),y.jsx("p",{"data-loc":"client/src/pages/Home.tsx:97",className:"text-lg text-muted-foreground",children:"Grande Terceiro - Cuiabá/MT"})]}),y.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:101",className:"grid grid-cols-2 md:grid-cols-5 gap-4 md:gap-6",children:[y.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:102",className:"flex flex-col items-center gap-3",children:[y.jsx(f1,{"data-loc":"client/src/pages/Home.tsx:103",className:"w-8 h-8 text-accent"}),y.jsx("p",{"data-loc":"client/src/pages/Home.tsx:104",className:"text-sm text-muted-foreground text-center",children:"52,24m²"})]}),y.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:106",className:"flex flex-col items-center gap-3",children:[y.jsx(i1,{"data-loc":"client/src/pages/Home.tsx:107",className:"w-8 h-8 text-accent"}),y.jsx("p",{"data-loc":"client/src/pages/Home.tsx:108",className:"text-sm text-muted-foreground text-center",children:"2 Quartos"})]}),y.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:110",className:"flex flex-col items-center gap-3",children:[y.jsx(l1,{"data-loc":"client/src/pages/Home.tsx:111",className:"w-8 h-8 text-accent"}),y.jsx("p",{"data-loc":"client/src/pages/Home.tsx:112",className:"text-sm text-muted-foreground text-center",children:"1 Suíte"})]}),y.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:114",className:"flex flex-col items-center gap-3",children:[y.jsx(Xh,{"data-loc":"client/src/pages/Home.tsx:115",className:"w-8 h-8 text-accent"}),y.jsx("p",{"data-loc":"client/src/pages/Home.tsx:116",className:"text-sm text-muted-foreground text-center",children:"1 Banheiro"})]}),y.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:118",className:"flex flex-col items-center gap-3",children:[y.jsx(s1,{"data-loc":"client/src/pages/Home.tsx:119",className:"w-8 h-8 text-accent"}),y.jsx("p",{"data-loc":"client/src/pages/Home.tsx:120",className:"text-sm text-muted-foreground text-center",children:"1 Vaga"})]})]})]})})}),y.jsx("section",{"data-loc":"client/src/pages/Home.tsx:128",id:"localizacao",className:"py-20 md:py-32 bg-background",children:y.jsx("div",{"data-loc":"client/src/pages/Home.tsx:129",className:"container",children:y.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:130",className:"space-y-8",children:[y.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:131",className:"space-y-2",children:[y.jsx("div",{"data-loc":"client/src/pages/Home.tsx:132",className:"divider-gold"}),y.jsx("h2",{"data-loc":"client/src/pages/Home.tsx:133",className:"heading-2",children:"Perto das Melhores Universidades de Cuiabá"}),y.jsx("p",{"data-loc":"client/src/pages/Home.tsx:134",className:"body-text text-muted-foreground",children:"O My SB oferece uma localização imbatível, garantindo acesso rápido e fácil às principais instituições de ensino superior da cidade."})]}),y.jsx("div",{"data-loc":"client/src/pages/Home.tsx:139",className:"grid grid-cols-1 md:grid-cols-3 gap-6 mb-12",children:[{name:"UNIC",distance:"Apenas 4 minutos a pé",logo:"https://files.manuscdn.com/user_upload_by_module/session_file/310519663338216429/sjAKKwtAGzfPpzNh.png"},{name:"UNIVAG",distance:"7 minutos de carro",logo:"https://files.manuscdn.com/user_upload_by_module/session_file/310519663338216429/OrEehQfsFQaRWhCu.jpg"},{name:"UFMT",distance:"9 minutos de carro",logo:"https://files.manuscdn.com/user_upload_by_module/session_file/310519663338216429/SsYuZQHYFjtQjhlc.png"}].map((m,b)=>y.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:145",className:"bg-white p-8 rounded-lg shadow-md hover:shadow-xl hover:scale-105 hover:-translate-y-1 transition-all duration-300 cursor-pointer flex flex-col items-center gap-4",children:[y.jsx("img",{"data-loc":"client/src/pages/Home.tsx:146",src:m.logo,alt:m.name,className:"h-20 w-auto opacity-90 hover:opacity-100 transition-opacity"}),y.jsxs("p",{"data-loc":"client/src/pages/Home.tsx:147",className:"text-muted-foreground flex items-center gap-2 text-center text-sm",children:[y.jsx(Gh,{"data-loc":"client/src/pages/Home.tsx:148",size:16,className:"text-accent flex-shrink-0"}),m.distance]})]},b))}),y.jsx("div",{"data-loc":"client/src/pages/Home.tsx:156",className:"rounded-lg overflow-hidden shadow-lg h-96",children:y.jsx("iframe",{"data-loc":"client/src/pages/Home.tsx:157",src:"https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3818.5821456789!2d-56.08462!3d-15.6260425!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1sAv.%20Manoel%20Jos%C3%A9%20de%20Arruda%2C%202867%20-%20Grande%20Terceiro%2C%20Cuiab%C3%A%20-%20MT%2C%2078065-700!2s-15.6260425,-56.08462!5e0!3m2!1spt-BR!2sbr!4v1234567890",width:"100%",height:"100%",style:{border:0},allowFullScreen:!0,loading:"lazy",referrerPolicy:"no-referrer-when-downgrade"})}),y.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:168",className:"bg-white p-6 rounded-lg shadow-md",children:[y.jsx("p",{"data-loc":"client/src/pages/Home.tsx:169",className:"text-foreground font-semibold mb-2",children:"Endereço"}),y.jsx("p",{"data-loc":"client/src/pages/Home.tsx:170",className:"text-muted-foreground",children:"Av. Manoel José de Arruda, 2867 - Grande Terceiro, Cuiabá - MT, 78065-700"})]})]})})}),y.jsx("section",{"data-loc":"client/src/pages/Home.tsx:179",id:"plantas",className:"py-20 md:py-32 bg-secondary/30",children:y.jsx("div",{"data-loc":"client/src/pages/Home.tsx:180",className:"container",children:y.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:181",className:"space-y-12",children:[y.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:182",className:"space-y-2",children:[y.jsx("div",{"data-loc":"client/src/pages/Home.tsx:183",className:"divider-gold"}),y.jsx("h2",{"data-loc":"client/src/pages/Home.tsx:184",className:"heading-2",children:"Sofisticação em Cada Detalhe"}),y.jsx("p",{"data-loc":"client/src/pages/Home.tsx:185",className:"body-text text-muted-foreground",children:"O My SB oferece duas opções de plantas inteligentes, ambas com 2 quartos (sendo 1 suíte), proporcionando o espaço e o conforto que seu filho merece."})]}),y.jsx("div",{"data-loc":"client/src/pages/Home.tsx:190",className:"grid grid-cols-1 md:grid-cols-2 gap-8",children:[{name:"Planta A",size:"62,80m²",features:["2 Quartos","Sendo 1 suíte","Acabamento Premium","Qualidade construtiva superior"]},{name:"Planta B",size:"52,24m²",features:["2 Quartos","Sendo 1 suíte","Otimizado para Eficiência","Espaço inteligente e funcional"]}].map((m,b)=>y.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:203",className:"bg-white rounded-lg p-8 shadow-lg hover:shadow-xl transition-shadow",children:[y.jsx("h3",{"data-loc":"client/src/pages/Home.tsx:204",className:"text-2xl font-bold text-foreground mb-2",children:m.name}),y.jsx("p",{"data-loc":"client/src/pages/Home.tsx:205",className:"text-3xl font-bold text-accent mb-6",children:m.size}),y.jsx("ul",{"data-loc":"client/src/pages/Home.tsx:206",className:"space-y-3 mb-6",children:m.features.map((g,N)=>y.jsxs("li",{"data-loc":"client/src/pages/Home.tsx:208",className:"flex items-center gap-3 text-muted-foreground",children:[y.jsx("div",{"data-loc":"client/src/pages/Home.tsx:209",className:"w-2 h-2 bg-accent rounded-full"}),g]},N))}),y.jsx("button",{"data-loc":"client/src/pages/Home.tsx:214",className:"w-full bg-accent text-accent-foreground py-3 rounded-sm hover:opacity-90 transition-smooth font-semibold",children:"Ver Detalhes"})]},b))})]})})}),y.jsx("section",{"data-loc":"client/src/pages/Home.tsx:225",id:"amenidades",className:"py-20 md:py-32 bg-background",children:y.jsx("div",{"data-loc":"client/src/pages/Home.tsx:226",className:"container",children:y.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:227",className:"space-y-12",children:[y.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:228",className:"space-y-2",children:[y.jsx("div",{"data-loc":"client/src/pages/Home.tsx:229",className:"divider-gold"}),y.jsx("h2",{"data-loc":"client/src/pages/Home.tsx:230",className:"heading-2",children:"Um Estilo de Vida Completo"})]}),y.jsx("div",{"data-loc":"client/src/pages/Home.tsx:233",className:"grid grid-cols-1 md:grid-cols-3 gap-8",children:[{title:"Shopping Center",description:"Acesso direto a centros comerciais com lojas, restaurantes e serviços premium. Tudo o que você precisa a poucos passos de casa.",icon:Wg},{title:"Academia Premium",description:"Equipamentos de última geração e espaço dedicado para seu bem-estar. Mantenha sua forma e saúde com conforto e sofisticação.",icon:g1},{title:"Piscina Adulto",description:"Área de lazer completa para relaxamento e diversão. Espaço perfeito para momentos de descontração com amigos e família.",icon:Xh}].map((m,b)=>{const g=m.icon;return y.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:253",className:"bg-secondary/50 p-8 rounded-lg text-center",children:[y.jsx(g,{"data-loc":"client/src/pages/Home.tsx:254",className:"w-12 h-12 text-accent mx-auto mb-4"}),y.jsx("h3",{"data-loc":"client/src/pages/Home.tsx:255",className:"text-xl font-bold text-foreground mb-3",children:m.title}),y.jsx("p",{"data-loc":"client/src/pages/Home.tsx:256",className:"text-muted-foreground text-sm",children:m.description})]},b)})})]})})}),y.jsx("section",{"data-loc":"client/src/pages/Home.tsx:266",className:"py-20 md:py-32 bg-secondary/30",children:y.jsx("div",{"data-loc":"client/src/pages/Home.tsx:267",className:"container",children:y.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:268",className:"space-y-8",children:[y.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:269",className:"space-y-2 text-center",children:[y.jsx("div",{"data-loc":"client/src/pages/Home.tsx:270",className:"divider-gold mx-auto"}),y.jsx("h2",{"data-loc":"client/src/pages/Home.tsx:271",className:"heading-2",children:"Acompanhe Nossos Projetos"}),y.jsx("p",{"data-loc":"client/src/pages/Home.tsx:272",className:"body-text text-muted-foreground",children:"Conheça mais sobre os empreendimentos da Style Brokers"})]}),y.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:275",className:"relative max-w-4xl mx-auto",children:[y.jsxs("a",{"data-loc":"client/src/pages/Home.tsx:276",href:"https://www.instagram.com/stylebrokersaltoluxo",target:"_blank",rel:"noopener noreferrer",className:"block rounded-lg overflow-hidden shadow-lg hover:shadow-xl transition-shadow",children:[y.jsx("img",{"data-loc":"client/src/pages/Home.tsx:282",src:f[r].url,alt:f[r].alt,className:"w-full h-96 md:h-[500px] object-cover"}),y.jsx("div",{"data-loc":"client/src/pages/Home.tsx:287",className:"absolute inset-0 bg-black/20 hover:bg-black/10 transition-colors flex items-center justify-center",children:y.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:288",className:"text-center",children:[y.jsx(Ui,{"data-loc":"client/src/pages/Home.tsx:289",className:"w-12 h-12 text-white mx-auto mb-2"}),y.jsx("p",{"data-loc":"client/src/pages/Home.tsx:290",className:"text-white font-semibold",children:"Visite nosso Instagram"})]})})]}),f.length>1&&y.jsxs(y.Fragment,{children:[y.jsx("button",{"data-loc":"client/src/pages/Home.tsx:297",onClick:v,className:"absolute left-4 top-1/2 -translate-y-1/2 bg-white/80 hover:bg-white p-2 rounded-full transition-colors z-10",children:y.jsx(o1,{"data-loc":"client/src/pages/Home.tsx:301",size:24,className:"text-foreground"})}),y.jsx("button",{"data-loc":"client/src/pages/Home.tsx:303",onClick:S,className:"absolute right-4 top-1/2 -translate-y-1/2 bg-white/80 hover:bg-white p-2 rounded-full transition-colors z-10",children:y.jsx(c1,{"data-loc":"client/src/pages/Home.tsx:307",size:24,className:"text-foreground"})}),y.jsx("div",{"data-loc":"client/src/pages/Home.tsx:310",className:"flex justify-center gap-2 mt-4",children:f.map((m,b)=>y.jsx("button",{"data-loc":"client/src/pages/Home.tsx:312",onClick:()=>c(b),className:`w-2 h-2 rounded-full transition-colors ${b===r?"bg-accent":"bg-muted"}`},b))})]})]})]})})}),y.jsx("section",{"data-loc":"client/src/pages/Home.tsx:329",className:"py-16 md:py-24 bg-foreground text-background",children:y.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:330",className:"container text-center",children:[y.jsx("h2",{"data-loc":"client/src/pages/Home.tsx:331",className:"text-3xl md:text-4xl font-bold mb-6",children:"Invista no Futuro do Seu Filho"}),y.jsx("p",{"data-loc":"client/src/pages/Home.tsx:332",className:"text-lg text-background/80 mb-8 max-w-2xl mx-auto",children:"Localização privilegiada, qualidade construtiva e amenidades de primeira linha. Tudo que você procura em um empreendimento."}),y.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:335",className:"flex flex-col sm:flex-row gap-4 justify-center",children:[y.jsx("button",{"data-loc":"client/src/pages/Home.tsx:336",onClick:()=>document.getElementById("contato")?.scrollIntoView({behavior:"smooth"}),className:"border-2 border-accent text-background px-8 py-3 rounded-sm hover:scale-110 hover:shadow-xl hover:-translate-y-1 transition-all duration-300 font-semibold",children:"Solicitar Informações"}),y.jsxs("a",{"data-loc":"client/src/pages/Home.tsx:342",href:"https://api.whatsapp.com/send?phone=5565996148060&text=Olá!%20fui%20redirecionado(a)%20do%20site.",target:"_blank",rel:"noopener noreferrer",className:"border-2 border-accent text-background px-8 py-3 rounded-sm hover:scale-110 hover:shadow-xl hover:-translate-y-1 transition-all duration-300 font-semibold flex items-center justify-center gap-2",children:[y.jsx(Ui,{"data-loc":"client/src/pages/Home.tsx:348",size:18})," WhatsApp"]})]})]})}),y.jsx("section",{"data-loc":"client/src/pages/Home.tsx:355",id:"contato",className:"py-20 md:py-32 bg-background",children:y.jsx("div",{"data-loc":"client/src/pages/Home.tsx:356",className:"container",children:y.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:357",className:"grid grid-cols-1 md:grid-cols-2 gap-12",children:[y.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:359",className:"space-y-8",children:[y.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:360",className:"space-y-2",children:[y.jsx("div",{"data-loc":"client/src/pages/Home.tsx:361",className:"divider-gold"}),y.jsx("h2",{"data-loc":"client/src/pages/Home.tsx:362",className:"heading-2",children:"Entre em Contato"})]}),y.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:365",className:"space-y-6",children:[y.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:366",className:"flex gap-4",children:[y.jsx(nu,{"data-loc":"client/src/pages/Home.tsx:367",className:"w-6 h-6 text-accent flex-shrink-0 mt-1"}),y.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:368",children:[y.jsx("p",{"data-loc":"client/src/pages/Home.tsx:369",className:"text-sm text-muted-foreground mb-1",children:"Telefone"}),y.jsx("a",{"data-loc":"client/src/pages/Home.tsx:370",href:"tel:+5565996148060",className:"text-lg font-semibold text-foreground hover:text-accent transition-colors",children:"(65) 99614-8060"})]})]}),y.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:376",className:"flex gap-4",children:[y.jsx(Ui,{"data-loc":"client/src/pages/Home.tsx:377",className:"w-6 h-6 text-accent flex-shrink-0 mt-1"}),y.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:378",children:[y.jsx("p",{"data-loc":"client/src/pages/Home.tsx:379",className:"text-sm text-muted-foreground mb-1",children:"WhatsApp"}),y.jsx("a",{"data-loc":"client/src/pages/Home.tsx:380",href:"https://api.whatsapp.com/send?phone=5565996148060&text=Olá!%20fui%20redirecionado(a)%20do%20site.",target:"_blank",rel:"noopener noreferrer",className:"text-lg font-semibold text-foreground hover:text-accent transition-colors",children:"(65) 99614-8060"})]})]}),y.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:391",className:"flex gap-4",children:[y.jsx(u1,{"data-loc":"client/src/pages/Home.tsx:392",className:"w-6 h-6 text-accent flex-shrink-0 mt-1"}),y.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:393",children:[y.jsx("p",{"data-loc":"client/src/pages/Home.tsx:394",className:"text-sm text-muted-foreground mb-1",children:"Email"}),y.jsx("a",{"data-loc":"client/src/pages/Home.tsx:395",href:"mailto:contato@stylebrokers.com.br",className:"text-lg font-semibold text-foreground hover:text-accent transition-colors",children:"contato@stylebrokers.com.br"})]})]}),y.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:401",className:"flex gap-4",children:[y.jsx(Gh,{"data-loc":"client/src/pages/Home.tsx:402",className:"w-6 h-6 text-accent flex-shrink-0 mt-1"}),y.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:403",children:[y.jsx("p",{"data-loc":"client/src/pages/Home.tsx:404",className:"text-sm text-muted-foreground mb-1",children:"Endereço"}),y.jsxs("p",{"data-loc":"client/src/pages/Home.tsx:405",className:"text-foreground",children:["Av. Manoel José de Arruda, 2867",y.jsx("br",{"data-loc":"client/src/pages/Home.tsx:406"}),"Grande Terceiro - Cuiabá/MT"]})]})]})]})]}),y.jsx("div",{"data-loc":"client/src/pages/Home.tsx:415",className:"bg-secondary/50 p-8 rounded-lg",children:y.jsxs("form",{"data-loc":"client/src/pages/Home.tsx:416",onSubmit:p,className:"space-y-4",children:[y.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:417",children:[y.jsx("label",{"data-loc":"client/src/pages/Home.tsx:418",className:"block text-sm font-semibold text-foreground mb-2",children:"Nome"}),y.jsx("input",{"data-loc":"client/src/pages/Home.tsx:419",type:"text",name:"name",value:i.name,onChange:d,required:!0,className:"w-full px-4 py-2 border border-border rounded-sm focus:outline-none focus:ring-2 focus:ring-accent",placeholder:"Seu nome"})]}),y.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:430",children:[y.jsx("label",{"data-loc":"client/src/pages/Home.tsx:431",className:"block text-sm font-semibold text-foreground mb-2",children:"Email"}),y.jsx("input",{"data-loc":"client/src/pages/Home.tsx:432",type:"email",name:"email",value:i.email,onChange:d,required:!0,className:"w-full px-4 py-2 border border-border rounded-sm focus:outline-none focus:ring-2 focus:ring-accent",placeholder:"seu@email.com"})]}),y.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:443",children:[y.jsx("label",{"data-loc":"client/src/pages/Home.tsx:444",className:"block text-sm font-semibold text-foreground mb-2",children:"Telefone"}),y.jsx("input",{"data-loc":"client/src/pages/Home.tsx:445",type:"tel",name:"phone",value:i.phone,onChange:d,className:"w-full px-4 py-2 border border-border rounded-sm focus:outline-none focus:ring-2 focus:ring-accent",placeholder:"(XX) XXXXX-XXXX"})]}),y.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:455",children:[y.jsx("label",{"data-loc":"client/src/pages/Home.tsx:456",className:"block text-sm font-semibold text-foreground mb-2",children:"Mensagem"}),y.jsx("textarea",{"data-loc":"client/src/pages/Home.tsx:457",name:"message",value:i.message,onChange:d,rows:4,className:"w-full px-4 py-2 border border-border rounded-sm focus:outline-none focus:ring-2 focus:ring-accent resize-none",placeholder:"Sua mensagem..."})]}),y.jsx("button",{"data-loc":"client/src/pages/Home.tsx:467",type:"submit",className:"w-full bg-accent text-accent-foreground py-3 rounded-sm hover:opacity-90 transition-smooth font-semibold",children:"Enviar Mensagem"})]})})]})})}),y.jsx("footer",{"data-loc":"client/src/pages/Home.tsx:480",className:"bg-foreground text-background py-16",children:y.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:481",className:"container",children:[y.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:482",className:"grid grid-cols-1 md:grid-cols-4 gap-12 mb-12",children:[y.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:484",children:[y.jsx("img",{"data-loc":"client/src/pages/Home.tsx:485",src:"https://files.manuscdn.com/user_upload_by_module/session_file/310519663338216429/XRPNmsR.png",alt:"Style Brokers",className:"h-12 w-auto mb-6"}),y.jsx("p",{"data-loc":"client/src/pages/Home.tsx:486",className:"text-background/70 text-sm",children:"Imobiliária especializada em empreendimentos de qualidade em Cuiabá."})]}),y.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:492",children:[y.jsx("h4",{"data-loc":"client/src/pages/Home.tsx:493",className:"font-semibold mb-4 text-background",children:"Sobre"}),y.jsxs("ul",{"data-loc":"client/src/pages/Home.tsx:494",className:"space-y-2 text-sm text-background/70",children:[y.jsx("li",{"data-loc":"client/src/pages/Home.tsx:495",children:y.jsx("a",{"data-loc":"client/src/pages/Home.tsx:495",href:"https://stylebrokers.com.br/sobre",className:"hover:text-background transition-colors",children:"Quem Somos"})}),y.jsx("li",{"data-loc":"client/src/pages/Home.tsx:496",children:y.jsx("a",{"data-loc":"client/src/pages/Home.tsx:496",href:"https://stylebrokers.com.br/sobre",className:"hover:text-background transition-colors",children:"Equipe"})}),y.jsx("li",{"data-loc":"client/src/pages/Home.tsx:497",children:y.jsx("a",{"data-loc":"client/src/pages/Home.tsx:497",href:"https://stylebrokers.com.br/sobre",className:"hover:text-background transition-colors",children:"Histórico"})})]})]}),y.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:502",children:[y.jsx("h4",{"data-loc":"client/src/pages/Home.tsx:503",className:"font-semibold mb-4 text-background",children:"Empreendimentos"}),y.jsxs("ul",{"data-loc":"client/src/pages/Home.tsx:504",className:"space-y-2 text-sm text-background/70",children:[y.jsx("li",{"data-loc":"client/src/pages/Home.tsx:505",children:y.jsx("a",{"data-loc":"client/src/pages/Home.tsx:505",href:"https://stylebrokers.com.br/unidades",className:"hover:text-background transition-colors",children:"Unidades"})}),y.jsx("li",{"data-loc":"client/src/pages/Home.tsx:506",children:y.jsx("a",{"data-loc":"client/src/pages/Home.tsx:506",href:"https://stylebrokers.com.br/unidades",className:"hover:text-background transition-colors",children:"Lançamentos"})}),y.jsx("li",{"data-loc":"client/src/pages/Home.tsx:507",children:y.jsx("a",{"data-loc":"client/src/pages/Home.tsx:507",href:"https://stylebrokers.com.br/anuncie-seu-imovel",className:"hover:text-background transition-colors",children:"Anuncie seu Imóvel"})})]})]}),y.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:512",children:[y.jsx("h4",{"data-loc":"client/src/pages/Home.tsx:513",className:"font-semibold mb-4 text-background",children:"Contato"}),y.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:514",className:"space-y-3 text-sm text-background/70",children:[y.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:515",children:[y.jsx("p",{"data-loc":"client/src/pages/Home.tsx:516",className:"font-semibold text-background mb-1",children:"Telefone"}),y.jsx("a",{"data-loc":"client/src/pages/Home.tsx:517",href:"tel:+5565996148060",className:"hover:text-background transition-colors",children:"(65) 99614-8060"})]}),y.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:519",children:[y.jsx("p",{"data-loc":"client/src/pages/Home.tsx:520",className:"font-semibold text-background mb-1",children:"Email"}),y.jsx("a",{"data-loc":"client/src/pages/Home.tsx:521",href:"mailto:contato@stylebrokers.com.br",className:"hover:text-background transition-colors",children:"contato@stylebrokers.com.br"})]})]})]})]}),y.jsx("div",{"data-loc":"client/src/pages/Home.tsx:528",className:"border-t border-background/20 pt-8 mb-8",children:y.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:529",className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[y.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:530",className:"text-sm text-background/70",children:[y.jsx("p",{"data-loc":"client/src/pages/Home.tsx:531",className:"font-semibold text-background mb-2",children:"Style Brokers Sede"}),y.jsxs("p",{"data-loc":"client/src/pages/Home.tsx:532",children:["Av. Pres. Getúlio Vargas, 1055 - Centro",y.jsx("br",{"data-loc":"client/src/pages/Home.tsx:532"}),"Cuiabá - MT, 78005-370"]}),y.jsxs("p",{"data-loc":"client/src/pages/Home.tsx:533",className:"mt-2",children:[y.jsx("strong",{"data-loc":"client/src/pages/Home.tsx:533",children:"CRECI:"})," 9008J"]})]}),y.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:535",className:"text-sm text-background/70",children:[y.jsx("p",{"data-loc":"client/src/pages/Home.tsx:536",className:"font-semibold text-background mb-2",children:"Style Brokers Boutique"}),y.jsxs("p",{"data-loc":"client/src/pages/Home.tsx:537",children:["Rua Buenos Aires 452 - Jardim das Américas",y.jsx("br",{"data-loc":"client/src/pages/Home.tsx:537"}),"Cuiabá MT - 78060-634"]}),y.jsxs("p",{"data-loc":"client/src/pages/Home.tsx:538",className:"mt-2",children:[y.jsx("strong",{"data-loc":"client/src/pages/Home.tsx:538",children:"CRECI:"})," 20326J"]})]})]})}),y.jsx("div",{"data-loc":"client/src/pages/Home.tsx:544",className:"border-t border-background/20 pt-8 text-center text-sm text-background/70",children:y.jsx("p",{"data-loc":"client/src/pages/Home.tsx:545",children:"© 2026 Style Brokers. Todos os direitos reservados."})})]})})]})}function Z1(){return y.jsxs(q1,{"data-loc":"client/src/App.tsx:12",children:[y.jsx(Kr,{"data-loc":"client/src/App.tsx:13",path:"/",component:Q1}),y.jsx(Kr,{"data-loc":"client/src/App.tsx:14",path:"/404",component:Fh}),y.jsx(Kr,{"data-loc":"client/src/App.tsx:16",component:Fh})]})}function K1(){return y.jsx(Y1,{"data-loc":"client/src/App.tsx:28",children:y.jsx(X1,{"data-loc":"client/src/App.tsx:29",defaultTheme:"light",children:y.jsxs(Jx,{"data-loc":"client/src/App.tsx:33",children:[y.jsx(iv,{"data-loc":"client/src/App.tsx:34"}),y.jsx(Z1,{"data-loc":"client/src/App.tsx:35"})]})})})}Ty.createRoot(document.getElementById("root")).render(y.jsx(K1,{"data-loc":"client/src/main.tsx:5"}));